Skip to content

Commit

Permalink
V4L/DVB (7732): vivi: fix a warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Apr 26, 2008
1 parent b1721d0 commit 63b79cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/vivi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 63b79cf

Please sign in to comment.