Minor style change (cppcheck)

This commit is contained in:
Alberto Ortega 2015-07-11 12:51:29 +02:00
parent bc9971f06e
commit 3a564d60e7
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,6 @@ int wmi_check_query(IWbemServices *services, const wchar_t *language, const wcha
wmi_check_row check_row) {
int status = FALSE;
IEnumWbemClassObject *queryrows = NULL;
IWbemClassObject * batchrows[10];
BSTR wmilang = SysAllocString(language);
BSTR wmiquery = SysAllocString(query);
@ -243,6 +242,7 @@ int wmi_check_query(IWbemServices *services, const wchar_t *language, const wcha
services, wmilang, wmiquery, WBEM_FLAG_BIDIRECTIONAL, NULL, &queryrows);
if (!FAILED(result) && (queryrows != NULL)) {
IWbemClassObject * batchrows[10];
ULONG index, count = 0;
result = WBEM_S_NO_ERROR;