From 211f4295797259437287d8256c84b7ac7c8dfcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Fri, 7 Dec 2007 18:01:25 +0100 Subject: [PATCH] winex11: Remove an unused variable. --- dlls/winex11.drv/settings.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/winex11.drv/settings.c b/dlls/winex11.drv/settings.c index 4fb01ad672b..ac6f4ad4bb5 100644 --- a/dlls/winex11.drv/settings.c +++ b/dlls/winex11.drv/settings.c @@ -266,10 +266,6 @@ BOOL X11DRV_EnumDisplaySettingsEx( LPCWSTR name, DWORD n, LPDEVMODEW devmode, DW { static const WCHAR dev_name[CCHDEVICENAME] = { 'W','i','n','e',' ','X','1','1',' ','d','r','i','v','e','r',0 }; - DWORD dwBpp; - - dwBpp = screen_depth; - if (dwBpp == 24) dwBpp = 32; devmode->dmSize = sizeof(DEVMODEW); devmode->dmSpecVersion = MAKEWORD(1,4);