jscript: Mark up fallthrough switch cases (Coverity).

This commit is contained in:
Marcus Meissner 2011-03-18 01:50:23 +01:00 committed by Alexandre Julliard
parent ded15757a0
commit 7e7b44882c
1 changed files with 3 additions and 3 deletions

View File

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