diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 16:28:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 07:38:55 -0200 |
commit | 03ad9fe4ce2881995b63e58a5518f6b8ff044e94 (patch) | |
tree | 9b3c8a5966003ae12cbf8e953e798a95c5304ba7 /drivers/media/usb | |
parent | 59e54059ab5fdbd59114688d85b490e1d80660b2 (diff) | |
download | blackbird-op-linux-03ad9fe4ce2881995b63e58a5518f6b8ff044e94.tar.gz blackbird-op-linux-03ad9fe4ce2881995b63e58a5518f6b8ff044e94.zip |
[media] anysee: fix a warning
drivers/media/usb/dvb-usb-v2/anysee.c:1179:5: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/anysee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/anysee.c b/drivers/media/usb/dvb-usb-v2/anysee.c index e78ca8fc7f85..d05c5b563dac 100644 --- a/drivers/media/usb/dvb-usb-v2/anysee.c +++ b/drivers/media/usb/dvb-usb-v2/anysee.c @@ -1170,7 +1170,7 @@ static int anysee_ci_poll_slot_status(struct dvb_ca_en50221 *ci, int slot, struct dvb_usb_device *d = ci->data; struct anysee_state *state = d_to_priv(d); int ret; - u8 tmp; + u8 tmp = 0; ret = anysee_rd_reg_mask(d, REG_IOC, &tmp, 0x40); if (ret) |