Skip to content

Commit f80bf9c

Browse files
committed
fixup! ExactCalculator: Clean up unused and redundant code
Test: 4.2/3*2 Change-Id: Ib058d2e2c962b14d3c41d2484b713e857d44b7b7
1 parent 4053832 commit f80bf9c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/com/android/calculator2/CalculatorExpr.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ private EvalRet evalTerm(int i, EvalContext ec) throws SyntaxException {
867867
val = val.multiply(tmp.val);
868868
}
869869
cpos = tmp.pos;
870+
is_mul = is_div = false;
870871
}
871872
return new EvalRet(cpos, val);
872873
}

0 commit comments

Comments
 (0)