Huw Davies : qcap: Avoid unused variable warning if v4l is absent.

Alexandre Julliard julliard at winehq.org
Tue Dec 22 15:49:57 CST 2020


Module: wine
Branch: master
Commit: 73281bf132e1dad9aebf3410b21616727438fb63
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=73281bf132e1dad9aebf3410b21616727438fb63

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Dec 22 14:26:36 2020 +0000

qcap: Avoid unused variable warning if v4l is absent.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list