projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068ba61
)
firmware-utils: fix erroneous variable redeclaration
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 15 Mar 2018 17:16:46 +0000
(18:16 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 15 Mar 2018 17:17:37 +0000
(18:17 +0100)
Fixes: 638e2193fe ("tplink-safeloader: add support to split & extract firmwares")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tools/firmware-utils/src/tplink-safeloader.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/tplink-safeloader.c
b/tools/firmware-utils/src/tplink-safeloader.c
index fab6f05855c6c27485fb991bc49202bc79fa39bd..3c979f7f86d385ffd2bca5d4cf7f87001815cc89 100644
(file)
--- 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 &&