Commit 2de2e10d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

vbscript: Always initialize is_array value (valgrind).

parent b0424313
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment