Screen.c resolve compiler warning
VisualID defaultVisual = 0; int rootDepth = 0; This makes certain that the variables are not undefined so it can silence a compiler warning I noticed when building the x11libre xserver.
This commit is contained in:
parent
7fb4ba10f2
commit
a692784259
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue