mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Removing an unused variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@92443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2040,7 +2040,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
|||||||
char *queue = qe->parent->name;
|
char *queue = qe->parent->name;
|
||||||
struct callattempt *o;
|
struct callattempt *o;
|
||||||
int status;
|
int status;
|
||||||
int sentringing = 0;
|
|
||||||
int numbusies = prebusies;
|
int numbusies = prebusies;
|
||||||
int numnochan = 0;
|
int numnochan = 0;
|
||||||
int stillgoing = 0;
|
int stillgoing = 0;
|
||||||
@@ -2212,12 +2211,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
|||||||
case AST_CONTROL_RINGING:
|
case AST_CONTROL_RINGING:
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name);
|
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;
|
break;
|
||||||
case AST_CONTROL_OFFHOOK:
|
case AST_CONTROL_OFFHOOK:
|
||||||
/* Ignore going off hook */
|
/* Ignore going off hook */
|
||||||
|
|||||||
Reference in New Issue
Block a user