Gerald Pfeifer : oleaut32/tests: Remove variable rValid which is not really used from test_VarMod.

Alexandre Julliard julliard at winehq.org
Tue May 25 12:06:08 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Mon May 24 22:09:54 2010 +0200

oleaut32/tests: Remove variable rValid which is not really used from test_VarMod.

---

 dlls/oleaut32/tests/vartest.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 2374051..8203510 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -2347,7 +2347,7 @@ static void test_VarMod(void)
   static const WCHAR szNum1[] = {'1','0','\0'};
   int l, r;
   BOOL lFound, rFound;
-  BOOL lValid, rValid;
+  BOOL lValid;
   BSTR strNum0, strNum1;
 
   CHECKPTR(VarMod);
@@ -2531,7 +2531,6 @@ static void test_VarMod(void)
 	}
 
       rFound = TRUE;
-      rValid = TRUE;
       switch(r)
 	{
 	case VT_EMPTY:
@@ -2558,7 +2557,6 @@ static void test_VarMod(void)
 	case VT_VARIANT:
 	case VT_UNKNOWN:
 	case VT_RECORD:
-	  rValid = FALSE;
 	  break;
 	default:
 	  rFound = FALSE;




More information about the wine-cvs mailing list