[media] tda18218: silence compiler warning
authorAntti Palosaari <crope@iki.fi>
Thu, 9 Aug 2012 23:50:37 +0000 (20:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 16:01:45 +0000 (13:01 -0300)
Trivial fix.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18218.c

index dfb3a831df4540541757f5b6cc0ce7f23f989cd3..8a6f9ca788f067c571f2dcbb2f01b412e06f3f68 100644 (file)
@@ -282,7 +282,7 @@ struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe,
        struct i2c_adapter *i2c, struct tda18218_config *cfg)
 {
        struct tda18218_priv *priv = NULL;
-       u8 val;
+       u8 uninitialized_var(val);
        int ret;
        /* chip default registers values */
        static u8 def_regs[] = {