提交 b7dc4cd1 编写于 作者: I Il Han 提交者: Mauro Carvalho Chehab

[media] lmedm04: Initialize a variable before its usage

The variable ret is used uninitialized.
It should be initialized before used.
Initialize it.
Signed-off-by: NIl Han <corone.il.han@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 9ab494b0
......@@ -373,7 +373,7 @@ static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
struct lme2510_state *st = adap->dev->priv;
static u8 clear_pid_reg[] = LME_ALL_PIDS;
static u8 rbuf[1];
int ret;
int ret = 0;
deb_info(1, "PID Clearing Filter");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册