[PATCH] qcap: Avoid unused variable warning if v4l is absent.
Huw Davies
huw at codeweavers.com
Tue Dec 22 08:26:36 CST 2020
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/qcap/v4l.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index da09b2b26d6..ccc06194b99 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -57,10 +57,9 @@
#include "qcap_private.h"
#include "winternl.h"
-WINE_DEFAULT_DEBUG_CHANNEL(qcap);
-
#ifdef HAVE_LINUX_VIDEODEV2_H
+WINE_DEFAULT_DEBUG_CHANNEL(qcap);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
static typeof(open) *video_open = open;
--
2.23.0
More information about the wine-devel
mailing list