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

Gerald Pfeifer gerald at pfeifer.com
Mon May 24 15:09:54 CDT 2010


This has been in my local tree for a while, but somehow it seems I
failed to submit it?

--- 
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-patches mailing list