summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-02 10:54:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-03 10:03:34 +0200
commit1c5ebfce0ce5d144341e187bd5c8ce447ceaf047 (patch)
treea42835575636a9a1c36d50edd051d0f24fe17cb2 /commands
parent7921ca6220827109829492737a51b1ca8839f881 (diff)
downloadbarebox-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>
Diffstat (limited to 'commands')
-rw-r--r--commands/test.c1
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;