kinect_upload_fw: initialize 'transferred' before USB transfers
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 23 Feb 2012 21:48:22 +0000 (22:48 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 23 Feb 2012 21:53:35 +0000 (22:53 +0100)
commit5acf9af5680bb5c38d8507fe918d95c7b02cf828
tree636df6abc1909fc8c7a89aeef684102b5907c475
parent7bbe9bb942cbabfa58f8d3033333ba31f39df2d5
kinect_upload_fw: initialize 'transferred' before USB transfers

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