- Remove unnecessary duplicated if condition.
- Fix a typo.

svn path=/trunk/; revision=53566
This commit is contained in:
Aleksey Bragin 2011-09-03 22:21:56 +00:00
parent ff2da6c81c
commit 30f1d45429

View file

@ -1038,10 +1038,9 @@ RpnpEvaluateStack(
ValueStackPointer--;
ull = ValueStack[ValueStackPointer];
if (ull == 0 && (Op->Data.BinaryOperator == RpnBinaryOperatorDiv ||
Op->Data.BinaryOperator == RpnBinaryOperatorDiv))
if (ull == 0 && Op->Data.BinaryOperator == RpnBinaryOperatorDiv)
{
CONST_STRCPY(ErrMsg, "Devision by zero");
CONST_STRCPY(ErrMsg, "Division by zero");
if (ErrOffset)
*ErrOffset = Op->CharacterOffset;