Andrew Talbot : opengl32: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Mon Nov 26 15:19:20 CST 2012


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Nov 24 21:09:46 2012 +0000

opengl32: Remove unused variable.

---

 dlls/opengl32/wgl.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

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