Nikolay Sivov : oleaut32/tests: Remove redundant assignment (PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 18 16:08:48 CDT 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Aug 16 13:01:02 2014 +0400

oleaut32/tests: Remove redundant assignment (PVS-Studio).

---

 dlls/oleaut32/tests/vartest.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 5e0d66a..804fb76 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -2332,7 +2332,6 @@ static void test_VarNot(void)
     VARNOT(BSTR, (BSTR)szTrue, BOOL, VARIANT_FALSE);
     VARNOT(BSTR, (BSTR)szFalse, BOOL, VARIANT_TRUE);
 
-    V_VT(&v) = VT_DECIMAL;
     S(U(*pdec)).sign = DECIMAL_NEG;
     S(U(*pdec)).scale = 0;
     pdec->Hi32 = 0;




More information about the wine-cvs mailing list