aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-26 11:26:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:42 -0400
commit2ddacee6ebbbdd20af96663f96f5b4de6bff90cc (patch)
tree1d337abfc6dec2021a620e2627ec021fdfa3fa8c /drivers/media/dvb/dvb-usb
parent031002d78b05c706272e4d5bc779f5c99d8348cf (diff)
V4L/DVB (11227): ce6230: avoid using unitialized var
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 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/ce6230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/ce6230.c b/drivers/media/dvb/dvb-usb/ce6230.c
index 8a305904035..5862820f109 100644
--- a/drivers/media/dvb/dvb-usb/ce6230.c
+++ b/drivers/media/dvb/dvb-usb/ce6230.c
@@ -104,7 +104,7 @@ static int ce6230_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
104 struct dvb_usb_device *d = i2c_get_adapdata(adap); 104 struct dvb_usb_device *d = i2c_get_adapdata(adap);
105 int i = 0; 105 int i = 0;
106 struct req_t req; 106 struct req_t req;
107 int ret; 107 int ret = 0;
108 memset(&req, 0, sizeof(&req)); 108 memset(&req, 0, sizeof(&req));
109 109
110 if (num > 2) 110 if (num > 2)