From: Mauro Carvalho Chehab Date: Mon, 29 Dec 2008 22:02:24 +0000 (-0300) Subject: V4L/DVB (10109): anysee: Fix usage of an unitialized function X-Git-Tag: v2.6.29-rc1~556^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902571aaa91263bc27e923e94ddf161c106befee;p=pandora-kernel.git V4L/DVB (10109): anysee: Fix usage of an unitialized function 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. Cc: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed