mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-28 01:01:22 +02:00
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>
This commit is contained in:
parent
e15843b115
commit
c33e825ac3
@ -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);
|
debug("Final value for argc=%d\n", argc);
|
||||||
name = argv[1];
|
name = argv[1];
|
||||||
value = argv[2];
|
|
||||||
|
|
||||||
if (strchr(name, '=')) {
|
if (strchr(name, '=')) {
|
||||||
printf("## Error: illegal character '='"
|
printf("## Error: illegal character '='"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user