vbscript: Fixed uninitialized opcode param in forto statement bytecode.

This commit is contained in:
Jacek Caban 2012-09-06 11:57:00 +02:00 committed by Alexandre Julliard
parent e9b51093de
commit 080169f1d2

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))