summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 685a39b)
raw | patch | inline | side by side (parent: 685a39b)
author | Mauro Carvalho Chehab <mchehab@redhat.com> | |
Sat, 27 Oct 2012 19:26:56 +0000 (16:26 -0300) | ||
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | |
Sun, 28 Oct 2012 09:38:54 +0000 (07:38 -0200) |
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>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/tua9001.c | patch | blob | history |
index 389668474070cb045ceeabbf67c856a0d6980126..83a6240f64d3d17b1a486bb7dbddac50864ee490 100644 (file)
{
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];