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

This commit is contained in:
Alexandre Julliard 2013-03-06 14:09:47 +01:00
parent 456773fdc0
commit 72226ea8df
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -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) {