aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-02-28 20:40:24 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-02-28 20:40:24 +0000
commit2f2a53b3721a36b93465461695d8ec37cdc0983e (patch)
tree64639b9495a86414aa0cc92917145b41a5f1562e /Bootloaders
parenta71a154f961b16a2bfb623f33ee2ca51b66052e6 (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.c1
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;
}
}