From e67aaab27a67affc21178ce66483be222d6d3319 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 8 Oct 2011 20:10:24 +0100 Subject: [PATCH] jscript: Add breaks to some switch statements. --- dlls/jscript/regexp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c index 0fa13ff3d4a..e38e6eafd22 100644 --- a/dlls/jscript/regexp.c +++ b/dlls/jscript/regexp.c @@ -4037,9 +4037,10 @@ static HRESULT RegExpConstr_leftContext(script_ctx_t *ctx, vdisp_t *jsthis, WORD V_VT(retv) = VT_BSTR; V_BSTR(retv) = ret; + break; } case DISPATCH_PROPERTYPUT: - return S_OK; + break; default: FIXME("unsupported flags\n"); return E_NOTIMPL; @@ -4063,9 +4064,10 @@ static HRESULT RegExpConstr_rightContext(script_ctx_t *ctx, vdisp_t *jsthis, WOR V_VT(retv) = VT_BSTR; V_BSTR(retv) = ret; + break; } case DISPATCH_PROPERTYPUT: - return S_OK; + break; default: FIXME("unsupported flags\n"); return E_NOTIMPL;