]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB: Fix uninitialised variable in dvb_frontend_swzigzag
authorAndrew de Quincey <adq_dvb@lidskialf.net>
Wed, 24 Jan 2007 18:00:43 +0000 (19:00 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 24 Jan 2007 18:00:43 +0000 (19:00 +0100)
Spotted by coverity/Adrian Bunk.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 771f32d889e6261de8b8c77d10fad85b55da20a4..b7a6bc34b03cc945808481c2e82d438ad5467baf 100644 (file)
@@ -329,7 +329,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 */