vbscript: Fixed uninitialized opcode param in forto statement bytecode.

oldstable
Jacek Caban 2012-09-06 11:57:00 +02:00 committed by Alexandre Julliard
parent e9b51093de
commit 080169f1d2
1 changed files with 1 additions and 0 deletions

View File

@ -700,6 +700,7 @@ static HRESULT compile_forto_statement(compile_ctx_t *ctx, forto_statement_t *st
if(!instr)
return E_OUTOFMEMORY;
instr_ptr(ctx, instr)->arg1.bstr = identifier;
instr_ptr(ctx, instr)->arg2.uint = 0;
hres = compile_expression(ctx, stat->to_expr);
if(FAILED(hres))