diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-06-07 15:51:39 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-06-07 15:51:39 +0000 |
commit | a8b0a415fcedbba37b39e1a313be109cf4a0fcef (patch) | |
tree | aee7f34e4a1773da9cbc5cb335fdfa01930479bc /main/file.c | |
parent | ef8940efca6b0ad76b8d0e82bf8da3f95a468501 (diff) |
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
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/file.c b/main/file.c index 305317d6b..c75d5d413 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; |