mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
screen: initialize rootDepth to zero to fix uninitialized-variable warning
This commit is contained in:
@@ -165,7 +165,7 @@ xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
|
||||
{
|
||||
unsigned long valuemask;
|
||||
VisualID defaultVisual = 0;
|
||||
int rootDepth;
|
||||
int rootDepth = 0;
|
||||
miPointerScreenPtr PointPriv;
|
||||
|
||||
if (!dixRegisterPrivateKey
|
||||
|
||||
Reference in New Issue
Block a user