]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (4832): Fix uninitialised variable in dvb_frontend_swzigzag
authorAndrew de Quincey <adq_dvb@lidskialf.net>
Fri, 17 Nov 2006 01:12:40 +0000 (22:12 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 26 Nov 2006 10:52:37 +0000 (08:52 -0200)
Spotted by coverity/Adrian Bunk.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 53304e6991ac61326fbec9001d362530f62bd8d9..a2ab2eebfc685322a640d3c920ddefd1531b1033 100644 (file)
@@ -348,7 +348,7 @@ static int dvb_frontend_swzigzag_autotune(struct dvb_frontend *fe, int check_wra
 
 static void dvb_frontend_swzigzag(struct dvb_frontend *fe)
 {
-       fe_status_t s;
+       fe_status_t s = 0;
        struct dvb_frontend_private *fepriv = fe->frontend_priv;
 
        /* if we've got no parameters, just keep idling */