From f82a0f08999cc2ac956520d25d14fd823ff993e7 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Mon, 21 Nov 2011 11:26:08 +0100 Subject: [PATCH] capture-example: fix compile warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit capture-example.c:418:15: warning: unused variable ‘min’ [-Wunused-variable] Signed-off-by: Hans Verkuil --- contrib/test/capture-example.c | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/test/capture-example.c b/contrib/test/capture-example.c index 417615a..421cb61 100644 --- a/contrib/test/capture-example.c +++ b/contrib/test/capture-example.c @@ -415,7 +415,6 @@ static void init_device(void) struct v4l2_cropcap cropcap; struct v4l2_crop crop; struct v4l2_format fmt; - unsigned int min; if (-1 == xioctl(fd, VIDIOC_QUERYCAP, &cap)) { if (EINVAL == errno) { -- 2.7.4