Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63b79cfa authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent b1721d0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;