projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685a39b
)
[media] tua9001: fix a warning
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>
drivers/media/tuners/tua9001.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/tua9001.c
b/drivers/media/tuners/tua9001.c
index 389668474070cb045ceeabbf67c856a0d6980126..83a6240f64d3d17b1a486bb7dbddac50864ee490 100644
(file)
--- a/
drivers/media/tuners/tua9001.c
+++ b/
drivers/media/tuners/tua9001.c
@@
-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];