=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in safearray.

Alexandre Julliard julliard at winehq.org
Thu Jun 27 13:39:09 CDT 2013


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jun 26 23:44:34 2013 +0200

oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in safearray.

---

 dlls/oleaut32/tests/safearray.c |    4 ----
 1 files changed, 0 insertions(+), 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,




More information about the wine-cvs mailing list