From 677d8df9b8bae64d441e3d4d5afa963dc5088ccb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Mar 2018 18:16:46 +0100 Subject: firmware-utils: fix erroneous variable redeclaration Fixes: 638e2193fe ("tplink-safeloader: add support to split & extract firmwares") Signed-off-by: Jo-Philipp Wich --- tools/firmware-utils/src/tplink-safeloader.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tools/firmware-utils') diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c index fab6f05855..3c979f7f86 100644 --- a/tools/firmware-utils/src/tplink-safeloader.c +++ b/tools/firmware-utils/src/tplink-safeloader.c @@ -1417,7 +1417,6 @@ static int add_flash_partition( unsigned long base, unsigned long size) { - int ptr = 0; /* check if the list has a free entry */ for (int ptr=0; ptrname == NULL && -- cgit v1.2.3