From: Russell Bryant Date: Sat, 19 Aug 2006 03:50:15 +0000 (+0000) Subject: suppress warnings introduced by putting states in an enum X-Git-Tag: 1.4.0-beta1~363 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a583f314dce3c100e7aec0b366f111ac7439f0cb;p=thirdparty%2Fasterisk.git 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 --- 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;