From 7e7b44882c4b1aa1ca50cc0c4e405dc35889afec Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 18 Mar 2011 01:50:23 +0100 Subject: [PATCH] jscript: Mark up fallthrough switch cases (Coverity). --- dlls/jscript/jscript.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/jscript/jscript.c b/dlls/jscript/jscript.c index a69b2930ecb..641c19255f4 100644 --- a/dlls/jscript/jscript.c +++ b/dlls/jscript/jscript.c @@ -164,7 +164,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state) change_state(This, SCRIPTSTATE_DISCONNECTED); if(state == SCRIPTSTATE_DISCONNECTED) return; - + /* FALLTHROUGH */ case SCRIPTSTATE_STARTED: case SCRIPTSTATE_DISCONNECTED: clear_script_queue(This); @@ -173,7 +173,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state) change_state(This, SCRIPTSTATE_INITIALIZED); if(state == SCRIPTSTATE_INITIALIZED) return; - + /* FALLTHROUGH */ case SCRIPTSTATE_INITIALIZED: if(This->ctx->host_global) { IDispatch_Release(This->ctx->host_global); @@ -211,7 +211,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state) jsdisp_release(This->ctx->global); This->ctx->global = NULL; } - + /* FALLTHROUGH */ case SCRIPTSTATE_UNINITIALIZED: change_state(This, state); break;