From: Jonathan Corbet Date: Wed, 7 Feb 2007 00:52:36 +0000 (-0300) Subject: V4L/DVB (5198): Cafe_ccic.c fix warning X-Git-Tag: v2.6.21-rc2~66^2~43 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3198cf676c18edd2b04c7016d1873f6e797b3d9a;p=linux-2.6-omap-h63xx.git V4L/DVB (5198): Cafe_ccic.c fix warning Quiet a spurious gcc warning. Signed-off-by: Jonathan Corbet Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index 4dae8925667..682dc7ce48d 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c @@ -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