Commit 05bca9f
freenect: initialize the 'transferred' variable used in bulk transfers
This is in order to make the printouts in the error path of the callers
of fnusb_bulk() show a saner value when libusb does not touch the
variable (i.e. when a transfer fails).
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>1 parent 7205faa commit 05bca9f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
578 | 579 | | |
579 | 580 | | |
580 | 581 | | |
| |||
0 commit comments