diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-03-15 18:16:46 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-03-15 18:17:37 +0100 |
commit | 677d8df9b8bae64d441e3d4d5afa963dc5088ccb (patch) | |
tree | dcb7bfee510984babfb517924fbcf5ac68069a4b /tools/firmware-utils | |
parent | 068ba612db41aad60110410997fcebdbb2a49269 (diff) | |
download | openwrt-677d8df9b8bae64d441e3d4d5afa963dc5088ccb.tar.gz openwrt-677d8df9b8bae64d441e3d4d5afa963dc5088ccb.tar.bz2 openwrt-677d8df9b8bae64d441e3d4d5afa963dc5088ccb.zip |
firmware-utils: fix erroneous variable redeclaration
Fixes: 638e2193fe ("tplink-safeloader: add support to split & extract firmwares")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r-- | tools/firmware-utils/src/tplink-safeloader.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; ptr<max_entries; ptr++, part_list++) { if (part_list->name == NULL && |