Commit a27ecc40 authored by Alexandre Julliard's avatar Alexandre Julliard

jscript: Return after assert(0) to silence warnings.

parent 9d11eee0
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment