diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 20:02:24 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 20:02:24 -0200 |
commit | 33cef62634c7f0a4b54be792d7d1c4e1b807f4d9 (patch) | |
tree | 1c0658a82ac47249ca31dc485c94ce65b0a53c4d /v4l_experimental/dpl3518.c | |
parent | b9dad285d153c7dd8b54848e7125c1e4987f1484 (diff) | |
download | mediapointer-dvb-s2-33cef62634c7f0a4b54be792d7d1c4e1b807f4d9.tar.gz mediapointer-dvb-s2-33cef62634c7f0a4b54be792d7d1c4e1b807f4d9.tar.bz2 |
anysee: Fix usage of an unitialized function
From: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/anysee.c: In function ‘anysee_master_xfer’:
drivers/media/dvb/dvb-usb/anysee.c:156: warning: ‘ret’ may be used uninitialized
By looking at the function, altrough very unlikely, this might
eventually be true if num = 0. So, better to fix the warning by
initializing with ret = 0.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
CC: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'v4l_experimental/dpl3518.c')
0 files changed, 0 insertions, 0 deletions