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[])
|
xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
unsigned long valuemask;
|
unsigned long valuemask;
|
||||||
VisualID defaultVisual;
|
VisualID defaultVisual = 0;
|
||||||
int rootDepth;
|
int rootDepth = 0;
|
||||||
miPointerScreenPtr PointPriv;
|
miPointerScreenPtr PointPriv;
|
||||||
|
|
||||||
if (!dixRegisterPrivateKey
|
if (!dixRegisterPrivateKey
|
||||||
|
|
Loading…
Reference in New Issue