aboutsummaryrefslogtreecommitdiff
path: root/shell/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/math.c')
-rw-r--r--shell/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/math.c b/shell/math.c
index 56f866bf2..6196a6ad9 100644
--- a/shell/math.c
+++ b/shell/math.c
@@ -926,9 +926,9 @@ dbg(" numstack:%d val:%lld '%s'", (int)(numstackptr - numstack), numstackptr[
926arith_t FAST_FUNC 926arith_t FAST_FUNC
927arith(arith_state_t *math_state, const char *expr) 927arith(arith_state_t *math_state, const char *expr)
928{ 928{
929 math_state->evaluation_disabled = 0;
929 math_state->errmsg = NULL; 930 math_state->errmsg = NULL;
930 math_state->list_of_recursed_names = NULL; 931 math_state->list_of_recursed_names = NULL;
931 math_state->evaluation_disabled = 0;
932 return evaluate_string(math_state, expr); 932 return evaluate_string(math_state, expr);
933} 933}
934 934