diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c index 25a7ccae8..c38a538a3 100644 --- a/hw/xnest/Screen.c +++ b/hw/xnest/Screen.c @@ -164,8 +164,8 @@ Bool xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[]) { unsigned long valuemask; - VisualID defaultVisual; - int rootDepth; + VisualID defaultVisual = 0; + int rootDepth = 0; miPointerScreenPtr PointPriv; if (!dixRegisterPrivateKey