[2/5] oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in safearray

André Hentschel nerv at dawncrow.de
Wed Jun 26 16:44:34 CDT 2013


---
 dlls/oleaut32/tests/safearray.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index d434ae8..c6d16ce 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -55,8 +55,6 @@ static SAFEARRAY* (WINAPI *pSafeArrayCreateVector)(VARTYPE,LONG,ULONG);
 /* Is a given function exported from oleaut32? */
 #define HAVE_FUNC(func) ((void*)GetProcAddress(hOleaut32, #func) != NULL)
 
-/* Have IRecordInfo data type? */
-#define HAVE_OLEAUT32_RECORD  HAVE_FUNC(SafeArraySetRecordInfo)
 /* Have R8 data type? */
 #define HAVE_OLEAUT32_R8      HAVE_FUNC(VarR8FromI1)
 /* Have I8/UI8 data type? */
@@ -484,8 +482,6 @@ static void test_safearray(void)
 
 	if (a)
 	{
-	  if (!HAVE_OLEAUT32_RECORD)
-	    vttypes[i].expflags = 0;
 	  ok(a->fFeatures == (vttypes[i].expflags | vttypes[i].addflags),
 	     "SAC of %d returned feature flags %x, expected %x\n",
 	  vttypes[i].vt, a->fFeatures,
-- 
1.8.1.2




More information about the wine-patches mailing list