]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Drop out variables I accidentally put in.
authorJoshua Colp <jcolp@digium.com>
Thu, 25 Jan 2007 17:49:39 +0000 (17:49 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 25 Jan 2007 17:49:39 +0000 (17:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5e4affb5a407bb80a49d0e390cf119d4c128a6c9..6f76acda388f4524a677c78c7bdef98aed5fb395 100644 (file)
@@ -2985,7 +2985,7 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner)
 static int update_call_counter(struct sip_pvt *fup, int event)
 {
        char name[256];
-       int *inuse = NULL, *call_limit = NULL, *inringing = NULL, *onhold = NULL;
+       int *inuse = NULL, *call_limit = NULL, *inringing = NULL;
        int outgoing = ast_test_flag(&fup->flags[0], SIP_OUTGOING);
        struct sip_user *u = NULL;
        struct sip_peer *p = NULL;
@@ -3008,7 +3008,6 @@ static int update_call_counter(struct sip_pvt *fup, int event)
                inuse = &p->inUse;
                call_limit = &p->call_limit;
                inringing = &p->inRinging;
-               onhold = &p->onHold;
                ast_copy_string(name, fup->peername, sizeof(name));
        } 
        if (!p && !u) {