diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-06-02 10:54:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-06-03 10:03:34 +0200 |
commit | 1c5ebfce0ce5d144341e187bd5c8ce447ceaf047 (patch) | |
tree | a42835575636a9a1c36d50edd051d0f24fe17cb2 | |
parent | 7921ca6220827109829492737a51b1ca8839f881 (diff) | |
download | barebox-1c5ebfce0ce5d144341e187bd5c8ce447ceaf047.tar.gz barebox-1c5ebfce0ce5d144341e187bd5c8ce447ceaf047.tar.xz |
commands: test: drop dead assignment
last_expr is set to a different value few lines later. Drop the dead
assignment.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/test.c b/commands/test.c index 505b7c56b1..c845cec017 100644 --- a/commands/test.c +++ b/commands/test.c @@ -86,7 +86,6 @@ static int do_test(int argc, char *argv[]) if (argc < 2) return 1; - last_expr = 0; left = argc - 1; ap = argv + 1; |