From: Mauro Carvalho Chehab Date: Sat, 26 Apr 2008 11:25:18 +0000 (-0300) Subject: V4L/DVB (7732): vivi: fix a warning X-Git-Tag: v2.6.26-rc1~1042^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=63b79cfa05b35973713caa91e290311bd5ebbe1d;p=linux-2.6-omap-h63xx.git V4L/DVB (7732): vivi: fix a warning some gcc versions complain that fh is used without being defined. The error report is bogus. However, fixing it is trivial. Better to make gcc happy. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index b1e9592acb9..845be1864f6 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -888,7 +888,7 @@ static int vivi_open(struct inode *inode, struct file *file) { int minor = iminor(inode); struct vivi_dev *dev; - struct vivi_fh *fh; + struct vivi_fh *fh = NULL; int i; int retval = 0;