From: Richard Mudgett Date: Mon, 7 Jun 2010 15:51:39 +0000 (+0000) Subject: Suppress warning in waitstream_core(). X-Git-Tag: 11.0.0-beta1~2897 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8b0a415fcedbba37b39e1a313be109cf4a0fcef;p=thirdparty%2Fasterisk.git Suppress warning in waitstream_core(). Suppress the warning about unexpected control subclass frames for AST_CONTROL_CONNECTED_LINE, AST_CONTROL_REDIRECTING, and AST_CONTROL_AOC in file.c:waitstream_core(). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268578 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/file.c b/main/file.c index 305317d6b3..c75d5d4135 100644 --- a/main/file.c +++ b/main/file.c @@ -1276,6 +1276,9 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, case AST_CONTROL_SRCCHANGE: case AST_CONTROL_HOLD: case AST_CONTROL_UNHOLD: + case AST_CONTROL_CONNECTED_LINE: + case AST_CONTROL_REDIRECTING: + case AST_CONTROL_AOC: case -1: /* Unimportant */ break;