[PATCH 16/16] [Ole32]: test
Eric Pouech
eric.pouech at wanadoo.fr
Sun Oct 22 14:48:56 CDT 2006
- don't use PropVariantClear to setup an unitialized variant
A+
---
dlls/ole32/tests/stg_prop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/stg_prop.c b/dlls/ole32/tests/stg_prop.c
index 59cae8e..d98cb53 100644
--- a/dlls/ole32/tests/stg_prop.c
+++ b/dlls/ole32/tests/stg_prop.c
@@ -90,7 +90,7 @@ static void testProps(void)
/* test setting one that I can't set */
spec.ulKind = PRSPEC_PROPID;
U(spec).propid = PID_DICTIONARY;
- PropVariantClear(&var);
+ memset(&var, 0, sizeof(var));
var.vt = VT_I4;
U(var).lVal = 1;
hr = IPropertyStorage_WriteMultiple(propertyStorage, 1, &spec, &var, 0);
More information about the wine-patches
mailing list