mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
jscript: Avoid a compiler warning.
This commit is contained in:
parent
2d15db6136
commit
2aa1e71e77
1 changed files with 2 additions and 3 deletions
|
@ -2210,12 +2210,11 @@ HRESULT typeof_expression_eval(exec_ctx_t *ctx, expression_t *_expr, DWORD flags
|
|||
}
|
||||
default:
|
||||
FIXME("unhandled vt %d\n", V_VT(&val));
|
||||
hres = E_NOTIMPL;
|
||||
VariantClear(&val);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
VariantClear(&val);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
|
||||
ret->type = EXPRVAL_VARIANT;
|
||||
V_VT(&ret->u.var) = VT_BSTR;
|
||||
|
|
Loading…
Reference in a new issue