summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-11-16 22:12:40 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-11-26 08:52:37 -0200
commit30d9464c76743160612e7de0b2f5f656c78915d3 (patch)
tree12134249743d1222b32941113b2afa55617f8529 /drivers/media
parentbc495b66d048d64a9b8aeb49ca8405f4687ca123 (diff)
downloadop-kernel-dev-30d9464c76743160612e7de0b2f5f656c78915d3.zip
op-kernel-dev-30d9464c76743160612e7de0b2f5f656c78915d3.tar.gz
V4L/DVB (4832): 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: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-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 53304e6..a2ab2ee 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -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 */
OpenPOWER on IntegriCloud