Module: wine Branch: master Commit: 307b3c8ed59acf2de2a049d27b5784a6a97733e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=307b3c8ed59acf2de2a049d27b...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Tue Oct 10 17:20:52 2017 +0300
oleaut32: Remove redundant comparison.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/oleaut32/vartype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index 881fe20..eeef992 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -5372,7 +5372,7 @@ static HRESULT VARIANT_DI_normalize(VARIANT_DI * val, int exponent2, BOOL isDoub end of the bit representation, down to the precision guaranteed by the floating point number. */ if (isDouble) { - while (exponent10 < 0 && (val->bitsnum[2] != 0 || (val->bitsnum[2] == 0 && (val->bitsnum[1] & 0xFFE00000) != 0))) { + while (exponent10 < 0 && (val->bitsnum[2] != 0 || (val->bitsnum[1] & 0xFFE00000) != 0)) { int rem10;
rem10 = VARIANT_int_divbychar(val->bitsnum, 3, 10);