xfree86: no need to assign numScreens again
numScreens is always being assigned to 0 in dix for any server generation. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a7d398e545
commit
64fd39f2f0
|
@ -552,9 +552,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
|
||||||
xf86Initialising = TRUE;
|
xf86Initialising = TRUE;
|
||||||
|
|
||||||
if (serverGeneration == 1) {
|
if (serverGeneration == 1) {
|
||||||
|
|
||||||
pScreenInfo->numScreens = 0;
|
|
||||||
|
|
||||||
if ((xf86ServerName = strrchr(argv[0], '/')) != 0)
|
if ((xf86ServerName = strrchr(argv[0], '/')) != 0)
|
||||||
xf86ServerName++;
|
xf86ServerName++;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user