jscript: Avoid a compiler warning.

This commit is contained in:
Alexandre Julliard 2008-10-27 11:29:21 +01:00
parent 2d15db6136
commit 2aa1e71e77
1 changed files with 2 additions and 3 deletions

View File

@ -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;