summaryrefslogtreecommitdiffstats
path: root/common/cmd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_test.c')
-rw-r--r--common/cmd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_test.c b/common/cmd_test.c
index b927d09eb3..4c2f967c6d 100644
--- a/common/cmd_test.c
+++ b/common/cmd_test.c
@@ -77,7 +77,7 @@ static int do_test(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
left = argc - 1;
ap = argv + 1;
- expr = -1;
+ expr = 0;
last_unop = OP_INVALID;
last_binop = OP_INVALID;
last_expr = -1;
OpenPOWER on IntegriCloud