Module: sip-router
Branch: master
Commit: c8772fc3eea75f5caad64770c6bbe6823ad7f1ef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c8772fc…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Dec 5 13:24:20 2012 -0500
modules_s/domain: remove unused variable
---
modules_s/domain/domain_mod.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules_s/domain/domain_mod.c b/modules_s/domain/domain_mod.c
index b175ff8..5eca473 100644
--- a/modules_s/domain/domain_mod.c
+++ b/modules_s/domain/domain_mod.c
@@ -434,11 +434,8 @@ static int lookup_domain(struct sip_msg* msg, char* flags, char* fp)
{
str domain, tmp;
domain_t* d;
- unsigned int track;
int ret = -1;
- track = 0;
-
if (get_str_fparam(&domain, msg, (fparam_t*)fp) != 0) {
DBG("lookup_domain: Cannot get the domain name to lookup\n");
return -1;
@@ -474,9 +471,6 @@ static int get_did(str* did, str* domain)
{
str tmp;
domain_t* d;
- unsigned int track;
-
- track = 0;
if (!db_mode) {
ERR("lookup_domain only works in cache mode\n");