diff --git a/channel.c b/channel.c index a55dcb3837..5a751fca3e 100644 --- a/channel.c +++ b/channel.c @@ -1780,7 +1780,9 @@ int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd) break; default: ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", f->subclass); + break; } + break; case AST_FRAME_VOICE: /* Write audio if appropriate */ if (audiofd > -1)