mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
jscript: Return after assert(0) to silence warnings.
This commit is contained in:
parent
9d11eee03d
commit
a27ecc40ba
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue