summaryrefslogtreecommitdiff
path: root/tools/img2srec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/img2srec.c')
-rw-r--r--tools/img2srec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/img2srec.c b/tools/img2srec.c
index ec76964023..75efd76e0e 100644
--- a/tools/img2srec.c
+++ b/tools/img2srec.c
@@ -112,7 +112,7 @@ static char* ExtractDecimal (uint32_t* value, char* getPtr)
static void ExtractNumber (uint32_t* value, char* getPtr)
{
- bool neg = false;;
+ bool neg = false;
while (*getPtr == ' ') getPtr++;
if (*getPtr == '-') {