提交 63b79cfa 编写于 作者: M Mauro Carvalho Chehab

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: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 b1721d0d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册