mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 00:35:40 +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--;
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue