summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-08-19 03:50:15 +0000
committerRussell Bryant <russell@russellbryant.com>2006-08-19 03:50:15 +0000
commita583f314dce3c100e7aec0b366f111ac7439f0cb (patch)
tree18fa1307233861648640a2dd88366e318b27133a /channel.c
parent81fa4bcf4085fadf0830ced865161a3afbb02352 (diff)
suppress warnings introduced by putting states in an enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index cbcfa0afa..a56961627 100644
--- a/channel.c
+++ b/channel.c
@@ -1564,6 +1564,8 @@ int ast_answer(struct ast_channel *chan)
case AST_STATE_UP:
ast_cdr_answer(chan->cdr);
break;
+ default:
+ break;
}
ast_channel_unlock(chan);
return res;