diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-02-28 20:40:24 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-02-28 20:40:24 +0000 |
| commit | 2f2a53b3721a36b93465461695d8ec37cdc0983e (patch) | |
| tree | 64639b9495a86414aa0cc92917145b41a5f1562e /Bootloaders | |
| parent | a71a154f961b16a2bfb623f33ee2ca51b66052e6 (diff) | |
Fix warnings and errors found by the new cppcheck provided static code analysis.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2075 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders')
| -rw-r--r-- | Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c index e1f2ea03..4fd6ccf1 100644 --- a/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c +++ b/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli.c @@ -801,6 +801,7 @@ int read_intel_hex(const char *filename) if (*buf) { if (parse_hex_line(buf) == 0) { //printf("Warning, parse error line %d\n", lineno); + fclose(fp); return -2; } } |
