Michael Stefaniuc : Revert "qcap: Avoid unused variable warning if v4l is absent."
Alexandre Julliard
julliard at winehq.org
Fri Apr 16 09:35:41 CDT 2021
Module: wine
Branch: oldstable
Commit: a6557f640a806096c618c84b80400120e6c419df
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a6557f640a806096c618c84b80400120e6c419df
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Tue Mar 30 20:26:19 2021 +0200
Revert "qcap: Avoid unused variable warning if v4l is absent."
This reverts commit cb8e15a64307e580123b459e4c5964dc7b0d73d9.
Reported by Gerald Pfeifer to break the build when v4l is not available.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/qcap/v4l.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index e548000187f..0d7e176d3da 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -63,9 +63,10 @@
#include "qcap_main.h"
#include "capture.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