aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-02-05 15:57:27 +0100
committerNico Huber <nico.h@gmx.de>2019-03-04 15:45:13 +0000
commit1cf369fb59546e705c5ca9368e629681c98b2893 (patch)
treed09bd6e36811c7dcb085afdf8ae98d5ede49082c
parentae24b8bfd36bba528f7ff31145f37e1c6d6a840f (diff)
downloadflashrom-1cf369fb59546e705c5ca9368e629681c98b2893.tar.gz
flashrom-1cf369fb59546e705c5ca9368e629681c98b2893.tar.bz2
flashrom-1cf369fb59546e705c5ca9368e629681c98b2893.zip
layout.c: Remove unused variable
Change-Id: I0c0c085999a12987376d75825fcf43e788a55a4b Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/31243 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/layout.c b/layout.c
index fa662389..e10bb735 100644
--- a/layout.c
+++ b/layout.c
@@ -161,7 +161,6 @@ static int find_romentry(struct flashrom_layout *const l, char *name)
int process_include_args(struct flashrom_layout *const l)
{
int i;
- unsigned int found = 0;
if (num_include_args == 0)
return 0;
@@ -180,7 +179,6 @@ int process_include_args(struct flashrom_layout *const l)
include_args[i]);
return 1;
}
- found++;
}
msg_ginfo("Using region%s: \"%s\"", num_include_args > 1 ? "s" : "",