screen: initialize rootDepth to zero to fix uninitialized-variable warning

This commit is contained in:
Collin
2025-07-18 07:52:21 -05:00
committed by Enrico Weigelt
parent 2423f98886
commit 6c6cbbdc57

View File

@@ -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