]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[media] anysee: Initialize ret = 0 in anysee_frontend_attach()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 24 Apr 2013 10:36:45 +0000 (07:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:55:16 +0000 (09:55 -0300)
commitecb52ab8213173e81717ac6fb3ba956f048aeda9
tree6a828666a0d1e4ed8fc8d1f1e2ed1151090e71b8
parent7f8414594e4755234fd0ca415630cfe2dfab42ce
[media] anysee: Initialize ret = 0 in anysee_frontend_attach()

drivers/media/usb/dvb-usb-v2/anysee.c: In function ‘anysee_frontend_attach’:
drivers/media/usb/dvb-usb-v2/anysee.c:641: warning: ‘ret’ may be used uninitialized in this function
And gcc is right (see the ANYSEE_HW_507T case), so initialize ret to zero
to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/anysee.c