suppress warnings introduced by putting states in an enum
authorRussell Bryant <russell@russellbryant.com>
Sat, 19 Aug 2006 03:50:15 +0000 (03:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 19 Aug 2006 03:50:15 +0000 (03:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40489 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index cbcfa0a..a569616 100644 (file)
--- 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;