aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-28 20:40:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-28 20:40:24 +0000
commitbb85d083a7899890d0c14502078f6fa60a09d5df (patch)
tree64639b9495a86414aa0cc92917145b41a5f1562e /Bootloaders
parentb762780343dd505f7bfe5673cbcffb0b938d7064 (diff)
downloadlufa-bb85d083a7899890d0c14502078f6fa60a09d5df.tar.gz
lufa-bb85d083a7899890d0c14502078f6fa60a09d5df.tar.bz2
lufa-bb85d083a7899890d0c14502078f6fa60a09d5df.zip
Fix warnings and errors found by the new cppcheck provided static code analysis.
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 e1f2ea03d..4fd6ccf1f 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;
}
}