Nikolay Sivov : oleaut32/tests: Remove duplicate code blocks (PVS-Studio).

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


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

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

oleaut32/tests: Remove duplicate code blocks (PVS-Studio).

---

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

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 804fb76..6acd4e2 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -2902,9 +2902,6 @@ static void test_VarMod(void)
       } else if((l == VT_VARIANT) || (r == VT_VARIANT))
       {
 	hexpected = DISP_E_BADVARTYPE;
-      } else if(lFound && !rFound)
-      {
-	hexpected = DISP_E_BADVARTYPE;
       } else if(!lFound && !rFound)
       {
 	hexpected = DISP_E_BADVARTYPE;




More information about the wine-cvs mailing list