oleaut32: No need to VariantClear() before VariantCopy().

This commit is contained in:
Nikolay Sivov 2014-02-19 18:51:34 +04:00 committed by Alexandre Julliard
parent cf2098cf2d
commit 6f30f699cc
1 changed files with 0 additions and 2 deletions

View File

@ -884,8 +884,6 @@ HRESULT WINAPI SafeArrayPutElement(SAFEARRAY *psa, LONG *rgIndices, void *pvData
VARIANT* lpVariant = pvData;
VARIANT* lpDest = lpvDest;
hRet = VariantClear(lpDest);
if (FAILED(hRet)) FIXME("VariantClear failed with 0x%x\n", hRet);
hRet = VariantCopy(lpDest, lpVariant);
if (FAILED(hRet)) FIXME("VariantCopy failed with 0x%x\n", hRet);
}