Michael Stefaniuc : oleaut32: Remove a superfluous TRUE: FALSE conditional expression.

Alexandre Julliard julliard at winehq.org
Wed Nov 14 13:17:16 CST 2012


Module: wine
Branch: master
Commit: 333c71730d05147d039a3b031c37f35198831224
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=333c71730d05147d039a3b031c37f35198831224

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Nov 14 12:35:49 2012 +0100

oleaut32: Remove a superfluous TRUE:FALSE conditional expression.

---

 dlls/oleaut32/variant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c
index 8a77593..21a2758 100644
--- a/dlls/oleaut32/variant.c
+++ b/dlls/oleaut32/variant.c
@@ -2252,7 +2252,7 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig,
     }
 
     /* Zero is not a negative number */
-    bNegative = pNumprs->dwOutFlags & NUMPRS_NEG && ul64 ? TRUE : FALSE;
+    bNegative = pNumprs->dwOutFlags & NUMPRS_NEG && ul64;
 
     TRACE("Integer value is 0x%s, bNeg %d\n", wine_dbgstr_longlong(ul64), bNegative);
 




More information about the wine-cvs mailing list