Author: fireball
Date: Sat Sep 3 22:21:56 2011
New Revision: 53566
URL:
http://svn.reactos.org/svn/reactos?rev=53566&view=rev
Log:
[NTOS]
- Remove unnecessary duplicated if condition.
- Fix a typo.
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_expr.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_expr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_expr.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_expr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_expr.c [iso-8859-1] Sat Sep 3 22:21:56 2011
@@ -1038,10 +1038,9 @@
ValueStackPointer--;
ull = ValueStack[ValueStackPointer];
- if (ull == 0 && (Op->Data.BinaryOperator ==
RpnBinaryOperatorDiv ||
- Op->Data.BinaryOperator == RpnBinaryOperatorDiv))
- {
- CONST_STRCPY(ErrMsg, "Devision by zero");
+ if (ull == 0 && Op->Data.BinaryOperator ==
RpnBinaryOperatorDiv)
+ {
+ CONST_STRCPY(ErrMsg, "Division by zero");
if (ErrOffset)
*ErrOffset = Op->CharacterOffset;