projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15843b
)
common: env: remove superfluous assignment
author
xypron.glpk@gmx.de
<xypron.glpk@gmx.de>
Mon, 8 May 2017 19:43:43 +0000
(21:43 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 12 May 2017 12:37:21 +0000
(08:37 -0400)
The value assigned to variable 'value' is never used.
The problem was indicated by clang scan-build.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/nvedit.c
patch
|
blob
|
history
diff --git
a/cmd/nvedit.c
b/cmd/nvedit.c
index 9ca5cb58a702a1c476b2ef5b6165c81c8df6bef0..8f4e6bbe62714f0d78bef1c6c6dc922e9a2cbd43 100644
(file)
--- a/
cmd/nvedit.c
+++ b/
cmd/nvedit.c
@@
-234,7
+234,6
@@
static int _do_env_set(int flag, int argc, char * const argv[], int env_flag)
}
debug("Final value for argc=%d\n", argc);
name = argv[1];
- value = argv[2];
if (strchr(name, '=')) {
printf("## Error: illegal character '='"