diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 13:52:43 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-19 13:39:41 -0800 |
commit | dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec (patch) | |
tree | 0c1366698351edc62b24c01969992c555623168d /src/helper/fileio.h | |
parent | ff25e76bad7e57da4ebd363f1b35d4af04acaa67 (diff) | |
download | openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.gz openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.bz2 openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.xz openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.zip |
refactor handle_flash_bank_command
Move variables to point of first use, reducing their scope.
Add driver_name temporary to help arguments be changed later.
Eliminates the useless 'found' variable, changing the code to terminate
the loop immediate and return its success.
Diffstat (limited to 'src/helper/fileio.h')
0 files changed, 0 insertions, 0 deletions