diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-05-08 21:43:43 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-12 08:37:21 -0400 |
commit | c33e825ac35bd13a29665b7bb32d00daad2bd59e (patch) | |
tree | 711e48ab50442c692e46ff4ec91a2e757df3de71 /cmd | |
parent | e15843b11504abe833695ecfe4104502bcd0a998 (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')
-rw-r--r-- | cmd/nvedit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c index 9ca5cb58a70..8f4e6bbe627 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 '='" |