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=7ac1244288b6ed948c8efa0cd65f19853f75b9b7;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 8aa8c5d77c..d3c1d8fd70 100644 --- a/main/bridge_basic.c +++ b/main/bridge_basic.c @@ -2387,6 +2387,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; @@ -2694,6 +2695,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) {