am7xxx: initialize the 'transferred' variable before USB transfers
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 23 Feb 2012 14:26:44 +0000 (15:26 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 23 Feb 2012 14:26:44 +0000 (15:26 +0100)
commit3c0bc8695b5eb170b423a1d7598bcad5014ed87a
treefba8eea1f3e42b5cc6d2a11d0c934dae41117419
parent247e26853647d7a16983eb62709e4347f357bf91
am7xxx: initialize the 'transferred' variable before USB transfers

This makes sure the subsequent error messages print a sane value when
libusb fails without touching the variable.
src/am7xxx.c