From: xypron.glpk@gmx.de Date: Mon, 8 May 2017 19:43:43 +0000 (+0200) Subject: common: env: remove superfluous assignment X-Git-Tag: v2017.07-rc1~313 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c33e825ac35bd13a29665b7bb32d00daad2bd59e;p=u-boot 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 --- 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 '='"