aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-19 03:50:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-19 03:50:15 +0000
commit0b95b65ab98f0157b5af629b85f8f6caeba39b39 (patch)
tree18fa1307233861648640a2dd88366e318b27133a /channel.c
parent6d7f326883e9f61399f7dc05cb96c36f745c7727 (diff)
suppress warnings introduced by putting states in an enum
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40489 f38db490-d61c-443f-a65b-d21fe96a405b
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;