Andrew Talbot : wineps.drv: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Wed Nov 28 14:14:05 CST 2012


Module: wine
Branch: master
Commit: 393514c11941f8425936eaea506831d466e6bd7b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=393514c11941f8425936eaea506831d466e6bd7b

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Nov 27 22:22:24 2012 +0000

wineps.drv: Remove unused variable.

---

 dlls/wineps.drv/driver.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

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-cvs mailing list