summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2007-01-24 19:00:43 +0100
committerAdrian Bunk <bunk@stusta.de>2007-01-24 19:00:43 +0100
commit14c22e2cfb749a49263f5bff87616e8f7a0a0c2e (patch)
tree04cc6a746d513cb30736ffee36d5f335bf522929
parent99c7cf71bccc43394d3aceaf501c89a0807f244c (diff)
downloadlinux-stable-14c22e2cfb749a49263f5bff87616e8f7a0a0c2e.tar.gz
linux-stable-14c22e2cfb749a49263f5bff87616e8f7a0a0c2e.tar.bz2
linux-stable-14c22e2cfb749a49263f5bff87616e8f7a0a0c2e.zip
V4L/DVB: Fix uninitialised variable in dvb_frontend_swzigzag
Spotted by coverity/Adrian Bunk. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 771f32d889e6..b7a6bc34b03c 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -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 */