oleaut32: Remove an unneeded error

André Hentschel nerv at dawncrow.de
Wed Feb 9 11:51:49 CST 2011


My committed tests show that this behaviour is totally correct and especially no error in Wine
---
 dlls/oleaut32/safearray.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
index dd00cfd..ced885c 100644
--- a/dlls/oleaut32/safearray.c
+++ b/dlls/oleaut32/safearray.c
@@ -1356,10 +1356,7 @@ HRESULT WINAPI SafeArrayCopy(SAFEARRAY *psa, SAFEARRAY **ppsaOut)
     return S_OK; /* Handles copying of NULL arrays */
 
   if (!psa->cbElements)
-  {
-    ERR("not copying an array of 0 elements\n");
     return E_INVALIDARG;
-  }
 
   if (psa->fFeatures & (FADF_RECORD|FADF_HAVEIID|FADF_HAVEVARTYPE))
   {
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list