]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
main: Explicitly mark case statement fallthrough as such.
authorSean Bright <sean@seanbright.com>
Fri, 7 Nov 2025 22:36:35 +0000 (17:36 -0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 12 Nov 2025 22:10:51 +0000 (22:10 +0000)
Resolves: #1442

main/bridge_basic.c

index f463c2bbeabb3ff3f483a3ff19cb3a0e5320816b..61f79785ed7fe24873afd40cf6d55f8b7e9a6789 100644 (file)
@@ -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) {