mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
jscript: Avoid a compiler warning.
This commit is contained in:
parent
2d15db6136
commit
2aa1e71e77
@ -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 New Issue
Block a user