From: Semenov Herman (Семенов Герман)GermanAizek@yandex.ru
--- dlls/wbemprox/query.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/wbemprox/query.c b/dlls/wbemprox/query.c index a6599334f58..e8abb2a96a8 100644 --- a/dlls/wbemprox/query.c +++ b/dlls/wbemprox/query.c @@ -536,7 +536,7 @@ static WCHAR *build_canonical_path( const WCHAR *relpath ) { BSTR server, namespace; WCHAR *ret; - UINT len, i; + UINT len;
if (!(server = build_servername())) return NULL; if (!(namespace = build_namespace())) @@ -549,7 +549,7 @@ static WCHAR *build_canonical_path( const WCHAR *relpath ) if ((ret = malloc( len * sizeof(WCHAR ) ))) { len = swprintf( ret, len, L"\\%s\%s:", server, namespace ); - for (i = 0; i < lstrlenW( relpath ); i ++) + for (int i = 0; i < lstrlenW( relpath ); i ++) { if (relpath[i] == ''') ret[len++] = '"'; else ret[len++] = relpath[i]; @@ -820,7 +820,7 @@ static BOOL is_system_prop( const WCHAR *name )
static BSTR build_proplist( const struct table *table, UINT row, UINT count, UINT *len ) { - UINT i, j, offset; + UINT i, j; BSTR *values, ret = NULL;
if (!(values = malloc( count * sizeof(BSTR) ))) return NULL; @@ -838,7 +838,7 @@ static BSTR build_proplist( const struct table *table, UINT row, UINT count, UIN } if ((ret = SysAllocStringLen( NULL, *len ))) { - offset = j = 0; + UINT offset = j = 0; for (i = 0; i < table->num_cols; i++) { if (table->columns[i].type & COL_FLAG_KEY)