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

This commit is contained in:
Eric Pouech 2006-11-08 21:47:18 +01:00 committed by Alexandre Julliard
parent 8f2b479461
commit 3026d8844c
1 changed files with 0 additions and 1 deletions

View File

@ -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);