projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b8838
)
capture-example: fix compile warning
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 21 Nov 2011 10:26:08 +0000
(11:26 +0100)
committer
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 21 Nov 2011 10:26:08 +0000
(11:26 +0100)
capture-example.c:418:15: warning: unused variable ‘min’ [-Wunused-variable]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
contrib/test/capture-example.c
patch
|
blob
|
history
diff --git
a/contrib/test/capture-example.c
b/contrib/test/capture-example.c
index
417615a
..
421cb61
100644
(file)
--- 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) {