am7xxx: silent a warning enabled by 'sparse' about an uninitialized variable
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 28 Feb 2012 20:44:34 +0000 (21:44 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Wed, 29 Feb 2012 22:43:06 +0000 (23:43 +0100)
commita27837d8dd8b78b4fcc9224d83d2f85fdf8eb19f
tree0a91b24054d1162d43c0a3277cfb6cdfbcc98816
parentdb607f3facf905c460e813147155223f4816eee0
am7xxx: silent a warning enabled by 'sparse' about an uninitialized variable

src/am7xxx.c:423:6: warning: ‘ret’ may be used uninitialized in this function [-Wuninitialized]

If libusb_get_device_list() returned 0 we didn't have 'ret' properly
initialized.
src/am7xxx.c