summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/ce6230.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-26 12:26:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-26 12:26:48 -0300
commit9731acdee8858e02b65a411ba6bd7050540b4c27 (patch)
tree4685b5c888c705d78ce5d9ad1f2307f81bb41b3a /linux/drivers/media/dvb/dvb-usb/ce6230.c
parentefea5a90212a1f82531f7fc661a4e15e7df15571 (diff)
downloadmediapointer-dvb-s2-9731acdee8858e02b65a411ba6bd7050540b4c27.tar.gz
mediapointer-dvb-s2-9731acdee8858e02b65a411ba6bd7050540b4c27.tar.bz2
ce6230: avoid using unitialized var
From: Mauro Carvalho Chehab <mchehab@redhat.com> drivers/media/dvb/dvb-usb/ce6230.c: In function ‘ce6230_i2c_xfer’: drivers/media/dvb/dvb-usb/ce6230.c:107: warning: ‘ret’ may be used uninitialized in this function Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/ce6230.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/ce6230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/ce6230.c b/linux/drivers/media/dvb/dvb-usb/ce6230.c
index 2a959c4bd..1682af62f 100644
--- a/linux/drivers/media/dvb/dvb-usb/ce6230.c
+++ b/linux/drivers/media/dvb/dvb-usb/ce6230.c
@@ -104,7 +104,7 @@ static int ce6230_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
struct dvb_usb_device *d = i2c_get_adapdata(adap);
int i = 0;
struct req_t req;
- int ret;
+ int ret = 0;
memset(&req, 0, sizeof(&req));
if (num > 2)