jscript: Return after assert(0) to silence warnings.
This commit is contained in:
parent
9d11eee03d
commit
a27ecc40ba
|
@ -799,6 +799,7 @@ static HRESULT literal_as_bstr(compiler_ctx_t *ctx, literal_t *literal, BSTR *st
|
|||
}
|
||||
default:
|
||||
assert(0);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return *str ? S_OK : E_OUTOFMEMORY;
|
||||
|
@ -1051,6 +1052,7 @@ static HRESULT compile_expression(compiler_ctx_t *ctx, expression_t *expr, BOOL
|
|||
break;
|
||||
default:
|
||||
assert(0);
|
||||
hres = E_FAIL;
|
||||
}
|
||||
|
||||
if(FAILED(hres))
|
||||
|
|
Loading…
Reference in New Issue