diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-23 10:54:40 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-23 10:54:40 +0000 |
commit | aa4d1ff4a65d216fbd7097c4e557d0c7a1c8ca70 (patch) | |
tree | 7b2f4efec20f052f4c16aefa5bcf8d11018013f9 /channels | |
parent | 16f742943a25f1bde5304cc159e664e780440c63 (diff) |
Remove unused variable (rizzo)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47958 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e6ef035d5..f0a490aba 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11180,7 +11180,6 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc { /* Called with p->lock held, as well as p->owner->lock if appropriate, keeping things relatively static */ - struct sip_request resp; char *cmd; char *cseq; char *useragent; @@ -11194,9 +11193,6 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc char *e; int error = 0; - /* Clear out potential response */ - memset(&resp, 0, sizeof(resp)); - /* Get Method and Cseq */ cseq = get_header(req, "Cseq"); cmd = req->header[0]; @@ -13390,8 +13386,10 @@ static int sip_do_reload(void) sip_destroy(iterator->call); } ASTOBJ_UNLOCK(iterator); + } while(0)); + ASTOBJ_CONTAINER_DESTROYALL(&userl, sip_destroy_user); ASTOBJ_CONTAINER_DESTROYALL(®l, sip_registry_destroy); ASTOBJ_CONTAINER_MARKALL(&peerl); |