mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 08:15:24 +00:00
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:
@@ -552,9 +552,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
|
||||
xf86Initialising = TRUE;
|
||||
|
||||
if (serverGeneration == 1) {
|
||||
|
||||
pScreenInfo->numScreens = 0;
|
||||
|
||||
if ((xf86ServerName = strrchr(argv[0], '/')) != 0)
|
||||
xf86ServerName++;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user