André Hentschel : oleaut32: Remove an unneeded error.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 15:30:15 CST 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Feb  9 18:51:49 2011 +0100

oleaut32: Remove an unneeded error.

---

 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))
   {




More information about the wine-cvs mailing list