diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-02-13 14:46:13 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-02-13 14:46:13 -0500 |
commit | 20d8868b63eaf291899c3de7da4d51d27a9d814d (patch) | |
tree | 1e979caf954d431a324ca88b591d1975e3ea9ed4 /linux | |
parent | 0173038bafb808d93f88b3f0b043696b04cc2ded (diff) | |
download | mediapointer-dvb-s2-20d8868b63eaf291899c3de7da4d51d27a9d814d.tar.gz mediapointer-dvb-s2-20d8868b63eaf291899c3de7da4d51d27a9d814d.tar.bz2 |
qt1010: fix compiler warning
From: Marco Schluessler <marco@lordzodiac.de>
In function 'qt1010_init':
warning: 'err' might be used uninitialized in this function
Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/qt1010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/qt1010.c b/linux/drivers/media/dvb/frontends/qt1010.c index db93776ce..0b9ba0639 100644 --- a/linux/drivers/media/dvb/frontends/qt1010.c +++ b/linux/drivers/media/dvb/frontends/qt1010.c @@ -312,7 +312,7 @@ static int qt1010_init(struct dvb_frontend *fe) { struct qt1010_priv *priv = fe->tuner_priv; struct dvb_frontend_parameters params; - int err; + int err = 0; u8 i, tmpval, *valptr = NULL; qt1010_i2c_oper_t i2c_data[] = { |