diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-12 16:08:55 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-12 16:08:55 +0000 |
commit | 2e454fccc4aaf3680bcbc8e20360506bb735aa7e (patch) | |
tree | 101c1ee5acb6e15b8a74fa66c4f78ebf442fad26 | |
parent | 4564a686b4c54390a52d2ecfd6228710104f0afa (diff) |
Removing an unused variable.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@92443 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_queue.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index e1e3374a8..8227ff175 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2040,7 +2040,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte char *queue = qe->parent->name; struct callattempt *o; int status; - int sentringing = 0; int numbusies = prebusies; int numnochan = 0; int stillgoing = 0; @@ -2212,12 +2211,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte case AST_CONTROL_RINGING: if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name); - if (!sentringing) { -#if 0 - ast_indicate(in, AST_CONTROL_RINGING); -#endif - sentringing++; - } break; case AST_CONTROL_OFFHOOK: /* Ignore going off hook */ |