summaryrefslogtreecommitdiff
path: root/cmd/nvedit.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-05-08 21:43:43 +0200
committerTom Rini <trini@konsulko.com>2017-05-12 08:37:21 -0400
commitc33e825ac35bd13a29665b7bb32d00daad2bd59e (patch)
tree711e48ab50442c692e46ff4ec91a2e757df3de71 /cmd/nvedit.c
parente15843b11504abe833695ecfe4104502bcd0a998 (diff)
common: env: remove superfluous assignment
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>
Diffstat (limited to 'cmd/nvedit.c')
-rw-r--r--cmd/nvedit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 9ca5cb58a7..8f4e6bbe62 100644
--- 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 '='"