mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[NTOS]
- Remove unnecessary duplicated if condition. - Fix a typo. svn path=/trunk/; revision=53566
This commit is contained in:
parent
ff2da6c81c
commit
30f1d45429
1 changed files with 2 additions and 3 deletions
|
@ -1038,10 +1038,9 @@ RpnpEvaluateStack(
|
||||||
ValueStackPointer--;
|
ValueStackPointer--;
|
||||||
ull = ValueStack[ValueStackPointer];
|
ull = ValueStack[ValueStackPointer];
|
||||||
|
|
||||||
if (ull == 0 && (Op->Data.BinaryOperator == RpnBinaryOperatorDiv ||
|
if (ull == 0 && Op->Data.BinaryOperator == RpnBinaryOperatorDiv)
|
||||||
Op->Data.BinaryOperator == RpnBinaryOperatorDiv))
|
|
||||||
{
|
{
|
||||||
CONST_STRCPY(ErrMsg, "Devision by zero");
|
CONST_STRCPY(ErrMsg, "Division by zero");
|
||||||
|
|
||||||
if (ErrOffset)
|
if (ErrOffset)
|
||||||
*ErrOffset = Op->CharacterOffset;
|
*ErrOffset = Op->CharacterOffset;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue