From a583f314dce3c100e7aec0b366f111ac7439f0cb Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 19 Aug 2006 03:50:15 +0000 Subject: [PATCH] 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 --- channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channel.c b/channel.c index cbcfa0afa5..a569616277 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;