mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-30 18:21:52 +00:00
main: Explicitly mark case statement fallthrough as such.
Resolves: #1442
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user