diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 07:25:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-26 08:10:46 -0400 |
commit | 63b79cfa05b35973713caa91e290311bd5ebbe1d (patch) | |
tree | 30d887dff0b4e849c72874195380e516e227e743 /drivers/media/video/vivi.c | |
parent | b1721d0da266b4af8cb4419473b4ca36206ab200 (diff) |
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 <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r-- | drivers/media/video/vivi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index b1e9592acb90..845be1864f68 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) | |||
888 | { | 888 | { |
889 | int minor = iminor(inode); | 889 | int minor = iminor(inode); |
890 | struct vivi_dev *dev; | 890 | struct vivi_dev *dev; |
891 | struct vivi_fh *fh; | 891 | struct vivi_fh *fh = NULL; |
892 | int i; | 892 | int i; |
893 | int retval = 0; | 893 | int retval = 0; |
894 | 894 | ||