qcap: Avoid unused variable warning if v4l is absent.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2020-12-22 14:26:36 +00:00 committed by Alexandre Julliard
parent 4539525c07
commit 73281bf132
1 changed files with 1 additions and 2 deletions

View File

@ -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;