Use array index 'i' only -after- bounds check
commiteb97426c76a0716fbc26e0581ccaaad2426d5c04
authorThomas Jarosch <tomj@simonv.com>
Fri, 21 Oct 2011 18:51:19 +0000 (21 18:51 +0000)
committerThomas Jarosch <tomj@simonv.com>
Fri, 21 Oct 2011 18:51:19 +0000 (21 18:51 +0000)
tree3ad3c2a4e0822a23f27bb55e6893717f826e177c
parent04a015dde0f7edfe5ee913dc8cc6c1395dc9a419
Use array index 'i' only -after- bounds check

Reported by cppcheck

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30815 a1c6a512-1295-4272-9138-f99709370657
firmware/usbstack/usb_storage.c