Thomas Faber : winex11: Avoid unused variable warning when building without LIBGL.
Alexandre Julliard
julliard at winehq.org
Mon Feb 20 15:03:45 CST 2017
Module: wine
Branch: master
Commit: 3be9f9d03635942db03dff37dcf8775cab26ef9e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3be9f9d03635942db03dff37dcf8775cab26ef9e
Author: Thomas Faber <thomas.faber at 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 at reactos.org>
Signed-off-by: Alexandre Julliard <julliard at 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"
More information about the wine-cvs
mailing list