]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (5198): Cafe_ccic.c fix warning
authorJonathan Corbet <corbet@lwn.net>
Wed, 7 Feb 2007 00:52:36 +0000 (21:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:17 +0000 (13:35 -0200)
Quiet a spurious gcc warning.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cafe_ccic.c

index 4dae8925667f77cd2cbfb9919321b3d00d87d265..682dc7ce48d91de1b37ef1655bdc5ed926579ad9 100644 (file)
@@ -1195,7 +1195,7 @@ static int cafe_vidioc_reqbufs(struct file *filp, void *priv,
                struct v4l2_requestbuffers *req)
 {
        struct cafe_camera *cam = filp->private_data;
-       int ret;
+       int ret = 0;  /* Silence warning */
 
        /*
         * Make sure it's something we can do.  User pointers could be