V4L/DVB (5251): Qt1010: fix compiler warning
authorMarco Schluessler <marco@lordzodiac.de>
Tue, 13 Feb 2007 19:46:13 +0000 (16:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:33 +0000 (13:35 -0200)
In function 'qt1010_init':

Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/qt1010.c

index c3408dcabe87f1318de4b48cbd6967e50319225c..28406b354c497207d4a668c83d2ba42987f30f61 100644 (file)
@@ -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[] = {