wineps.drv: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Tue Nov 27 16:22:24 CST 2012


Changelog:
    wineps.drv: Remove unused variable.

diff --git a/dlls/wineps.drv/driver.c b/dlls/wineps.drv/driver.c
index 358f088..70ee2b0 100644
--- a/dlls/wineps.drv/driver.c
+++ b/dlls/wineps.drv/driver.c
@@ -333,7 +333,6 @@ static INT_PTR CALLBACK PSDRV_PaperDlgProc(HWND hwnd, UINT msg,
 }
 
 
-static void (WINAPI *pInitCommonControls) (void);
 static HPROPSHEETPAGE (WINAPI *pCreatePropertySheetPage) (LPCPROPSHEETPAGEW);
 static int (WINAPI *pPropertySheet) (LPCPROPSHEETHEADERW);
 
@@ -456,8 +455,6 @@ INT PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput,
     static const WCHAR SetupW[] = {'S','e','t','u','p','\0'};
 
     hinstComctl32 = LoadLibraryA("comctl32.dll");
-    pInitCommonControls = (void*)GetProcAddress(hinstComctl32,
-						"InitCommonControls");
     pCreatePropertySheetPage = (void*)GetProcAddress(hinstComctl32,
 						    "CreatePropertySheetPageW");
     pPropertySheet = (void*)GetProcAddress(hinstComctl32, "PropertySheetW");




More information about the wine-patches mailing list