Commit 72226ea8 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 456773fd
......@@ -1400,6 +1400,7 @@ static HRESULT create_class_funcprop(compile_ctx_t *ctx, function_decl_t *func_d
break;
default:
assert(0);
return E_FAIL;
}
assert(!desc->entries[invoke_type]);
......
......@@ -1012,6 +1012,7 @@ static HRESULT Global_InStr(vbdisp_t *This, VARIANT *args, unsigned args_cnt, VA
return E_NOTIMPL;
default:
assert(0);
return E_FAIL;
}
if(startv) {
......
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