Module: wine Branch: master Commit: 3be9f9d03635942db03dff37dcf8775cab26ef9e URL: http://source.winehq.org/git/wine.git/?a=commit;h=3be9f9d03635942db03dff37dc...
Author: Thomas Faber thomas.faber@reactos.org Date: Mon Feb 20 15:28:25 2017 +0100
winex11: Avoid unused variable warning when building without LIBGL.
Signed-off-by: Thomas Faber thomas.faber@reactos.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 d89a193..76cc3cc 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"