summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:48:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:48:37 -0300
commitc7d13eb20a1c0b632f86d085668533d9d4440f0a (patch)
tree270a6e81a894b4285d323280404af3f4bfd8f97b /linux/drivers/media/video/vivi.c
parentd7c1b099832047eb2644beb7e990533b73e00b8d (diff)
downloadmediapointer-dvb-s2-c7d13eb20a1c0b632f86d085668533d9d4440f0a.tar.gz
mediapointer-dvb-s2-c7d13eb20a1c0b632f86d085668533d9d4440f0a.tar.bz2
vivi: fix a warning
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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 <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/vivi.c')
-rw-r--r--linux/drivers/media/video/vivi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c
index 900a17404..d190754f1 100644
--- a/linux/drivers/media/video/vivi.c
+++ b/linux/drivers/media/video/vivi.c
@@ -958,7 +958,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;