main: Explicitly mark case statement fallthrough as such.

Resolves: #1442
This commit is contained in:
Sean Bright
2025-11-07 17:36:35 -05:00
parent 6967522869
commit b64bd60df3

View 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. * so we remove it if present as it should not exist.
*/ */
remove_attended_transfer_stimulus(props, STIMULUS_RECALL_TARGET_ANSWER); remove_attended_transfer_stimulus(props, STIMULUS_RECALL_TARGET_ANSWER);
/* fall through */
case STIMULUS_RECALL_TARGET_HANGUP: case STIMULUS_RECALL_TARGET_HANGUP:
props->recall_target = ast_channel_unref(props->recall_target); props->recall_target = ast_channel_unref(props->recall_target);
return TRANSFER_RECALLING; return TRANSFER_RECALLING;
@@ -2689,6 +2690,7 @@ static enum attended_transfer_state retransfer_exit(struct attended_transfer_pro
return TRANSFER_FAIL; return TRANSFER_FAIL;
case STIMULUS_TIMEOUT: case STIMULUS_TIMEOUT:
ast_softhangup(props->recall_target, AST_SOFTHANGUP_EXPLICIT); ast_softhangup(props->recall_target, AST_SOFTHANGUP_EXPLICIT);
/* fall through */
case STIMULUS_RECALL_TARGET_HANGUP: case STIMULUS_RECALL_TARGET_HANGUP:
props->recall_target = ast_channel_unref(props->recall_target); props->recall_target = ast_channel_unref(props->recall_target);
if (props->atxferloopdelay) { if (props->atxferloopdelay) {