vbscript: Always initialize is_array value (valgrind).

This commit is contained in:
Jacek Caban 2014-06-10 10:23:55 +02:00 committed by Alexandre Julliard
parent b0424313fd
commit 2de2e10d47
1 changed files with 2 additions and 3 deletions

View File

@ -1656,11 +1656,10 @@ static HRESULT compile_class(compile_ctx_t *ctx, class_decl_t *class_decl)
return E_OUTOFMEMORY;
class_desc->props[i].is_public = prop_decl->is_public;
class_desc->props[i].is_array = prop_decl->is_array;
if(prop_decl->is_array) {
class_desc->props[i].is_array = TRUE;
if(prop_decl->is_array)
class_desc->array_cnt++;
}
}
if(class_desc->array_cnt) {