Sven Baars : wbemprox/tests: Remove some unused variables.
Alexandre Julliard
julliard at winehq.org
Mon Oct 7 17:02:14 CDT 2019
Module: wine
Branch: master
Commit: 62a5e16eec17194def60e1f0f89aae46571a3c16
URL: https://source.winehq.org/git/wine.git/?a=commit;h=62a5e16eec17194def60e1f0f89aae46571a3c16
Author: Sven Baars <sven.wine at gmail.com>
Date: Fri Oct 4 21:58:41 2019 +0200
wbemprox/tests: Remove some unused variables.
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wbemprox/tests/query.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index 1c6ffcaf8d..40eaefee4c 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -750,7 +750,7 @@ static void test_StdRegProv( IWbemServices *services )
{'S','o','f','t','w','a','r','e','\\','S','t','d','R','e','g','P','r','o','v','T','e','s','t',0};
BSTR class = SysAllocString( stdregprovW ), method, name;
IWbemClassObject *reg, *sig_in, *sig_out, *in, *out;
- VARIANT defkey, subkey, retval, names, types, value, valuename;
+ VARIANT defkey, subkey, retval, valuename;
CIMTYPE type;
HRESULT hr;
LONG res;
@@ -854,7 +854,6 @@ static void test_StdRegProv( IWbemServices *services )
check_property( out, namesW, VT_BSTR|VT_ARRAY, CIM_STRING|CIM_FLAG_ARRAY );
- VariantClear( &names );
VariantClear( &subkey );
IWbemClassObject_Release( in );
IWbemClassObject_Release( out );
@@ -893,8 +892,6 @@ static void test_StdRegProv( IWbemServices *services )
check_property( out, namesW, VT_BSTR|VT_ARRAY, CIM_STRING|CIM_FLAG_ARRAY );
check_property( out, typesW, VT_I4|VT_ARRAY, CIM_SINT32|CIM_FLAG_ARRAY );
- VariantClear( &types );
- VariantClear( &names );
VariantClear( &subkey );
IWbemClassObject_Release( in );
IWbemClassObject_Release( out );
@@ -937,7 +934,6 @@ static void test_StdRegProv( IWbemServices *services )
check_property( out, valueW, VT_BSTR, CIM_STRING );
- VariantClear( &value );
VariantClear( &valuename );
VariantClear( &subkey );
IWbemClassObject_Release( in );
More information about the wine-cvs
mailing list