From: Sean Bright Date: Fri, 7 Nov 2025 22:36:35 +0000 (-0500) Subject: main: Explicitly mark case statement fallthrough as such. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86c3baea615fe2949066ea969cccc0a926ae0793;p=thirdparty%2Fasterisk.git main: Explicitly mark case statement fallthrough as such. Resolves: #1442 --- diff --git a/main/bridge_basic.c b/main/bridge_basic.c index f463c2bbea..61f79785ed 100644 --- a/main/bridge_basic.c +++ b/main/bridge_basic.c @@ -2382,6 +2382,7 @@ static enum attended_transfer_state blond_nonfinal_exit(struct attended_transfer * so we remove it if present as it should not exist. */ remove_attended_transfer_stimulus(props, STIMULUS_RECALL_TARGET_ANSWER); + /* fall through */ case STIMULUS_RECALL_TARGET_HANGUP: props->recall_target = ast_channel_unref(props->recall_target); return TRANSFER_RECALLING; @@ -2689,6 +2690,7 @@ static enum attended_transfer_state retransfer_exit(struct attended_transfer_pro return TRANSFER_FAIL; case STIMULUS_TIMEOUT: ast_softhangup(props->recall_target, AST_SOFTHANGUP_EXPLICIT); + /* fall through */ case STIMULUS_RECALL_TARGET_HANGUP: props->recall_target = ast_channel_unref(props->recall_target); if (props->atxferloopdelay) {