opengl32: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Sat Nov 24 15:09:46 CST 2012


Changelog:
    opengl32: Remove unused variable.

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 798a0e5..1317ff5 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -43,8 +43,6 @@
 WINE_DEFAULT_DEBUG_CHANNEL(wgl);
 WINE_DECLARE_DEBUG_CHANNEL(fps);
 
-static HMODULE opengl32_handle;
-
 extern struct opengl_funcs null_opengl_funcs;
 
 /* handle management */
@@ -1719,7 +1717,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
     switch(reason)
     {
     case DLL_PROCESS_ATTACH:
-        opengl32_handle = hinst;
         DisableThreadLibraryCalls(hinst);
         NtCurrentTeb()->glTable = &null_opengl_funcs;
         break;




More information about the wine-patches mailing list