Eric Pouech : ole32: Don' t use PropVariantClear to setup an unitialized variant.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 9 06:08:57 CST 2006


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

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Wed Nov  8 21:47:18 2006 +0100

ole32: Don't use PropVariantClear to setup an unitialized variant.

---

 dlls/ole32/tests/stg_prop.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/stg_prop.c b/dlls/ole32/tests/stg_prop.c
index 59cae8e..b25ebd5 100644
--- a/dlls/ole32/tests/stg_prop.c
+++ b/dlls/ole32/tests/stg_prop.c
@@ -90,7 +90,6 @@ static void testProps(void)
     /* test setting one that I can't set */
     spec.ulKind = PRSPEC_PROPID;
     U(spec).propid = PID_DICTIONARY;
-    PropVariantClear(&var);
     var.vt = VT_I4;
     U(var).lVal = 1;
     hr = IPropertyStorage_WriteMultiple(propertyStorage, 1, &spec, &var, 0);




More information about the wine-cvs mailing list