mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
[media] tua9001: fix a warning
drivers/media/tuners/tua9001.c:211:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Cc: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
685a39bd1a
commit
59e54059ab
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ static int tua9001_set_params(struct dvb_frontend *fe)
|
|||
{
|
||||
struct tua9001_priv *priv = fe->tuner_priv;
|
||||
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
|
||||
int ret, i;
|
||||
int ret = 0, i;
|
||||
u16 val;
|
||||
u32 frequency;
|
||||
struct reg_val data[2];
|
||||
|
|
Loading…
Reference in a new issue