summaryrefslogtreecommitdiff
path: root/flash/make_firmware
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-04 18:10:42 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-04 18:16:44 +0100
commitc907e127f8b1d267e91e82d28cdb210288852b82 (patch)
treea188d22f5092055f423b95dfef3eb08a14fa6abf /flash/make_firmware
parentb43fcbdab227b5bc29daf64d6660edc6cd5dc534 (diff)
downloadrockbox-c907e127f8b1d267e91e82d28cdb210288852b82.tar.gz
rockbox-c907e127f8b1d267e91e82d28cdb210288852b82.zip
jz4740 usbtool: Fix undefined behavior in set_reg()
The variable 'i' should actually be 'size'. See the read_reg() function above it. Confirmed via private email from Maurus Cuelenaere. Thanks! (who also remembered having trouble reading/setting registers over USB back then ;)) cppcheck reported: [rockbox/utils/jz4740_tools/jz4740_usbtool.c:281]: (error) Uninitialized variable: i Change-Id: I0f34834335e89d2504e7597e8db22cf69b5ca7e7
Diffstat (limited to 'flash/make_firmware')
0 files changed, 0 insertions, 0 deletions