From: Thomas Faber Subject: winex11.drv: Avoid unused variable warning when building without LIBGL. Message-Id: Date: Mon, 20 Feb 2017 15:34:32 +0100 From eb9b01b18af4b370d0bdcf0cbfe9a641cbd883dc Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Mon, 20 Feb 2017 15:28:25 +0100 Subject: winex11.drv: Avoid unused variable warning when building without LIBGL. Signed-off-by: Thomas Faber --- dlls/winex11.drv/opengl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index d89a19330f7..76cc3cc1820 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -43,10 +43,9 @@ #include "wine/library.h" #include "wine/debug.h" -WINE_DEFAULT_DEBUG_CHANNEL(wgl); - #ifdef SONAME_LIBGL +WINE_DEFAULT_DEBUG_CHANNEL(wgl); WINE_DECLARE_DEBUG_CHANNEL(winediag); #include "wine/wgl.h" -- 2.11.1.windows.1