mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
vbscript: Fixed uninitialized opcode param in forto statement bytecode.
This commit is contained in:
parent
e9b51093de
commit
080169f1d2
1 changed files with 1 additions and 0 deletions
|
@ -700,6 +700,7 @@ static HRESULT compile_forto_statement(compile_ctx_t *ctx, forto_statement_t *st
|
||||||
if(!instr)
|
if(!instr)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
instr_ptr(ctx, instr)->arg1.bstr = identifier;
|
instr_ptr(ctx, instr)->arg1.bstr = identifier;
|
||||||
|
instr_ptr(ctx, instr)->arg2.uint = 0;
|
||||||
|
|
||||||
hres = compile_expression(ctx, stat->to_expr);
|
hres = compile_expression(ctx, stat->to_expr);
|
||||||
if(FAILED(hres))
|
if(FAILED(hres))
|
||||||
|
|
Loading…
Reference in a new issue