[sr-dev] git:master:15883fef: tm: fix warnings for compilation

Daniel-Constantin Mierla miconda at gmail.com
Tue May 2 15:12:30 CEST 2017


Module: kamailio
Branch: master
Commit: 15883fef8f5b7205bbf68b765e856dd887c42954
URL: https://github.com/kamailio/kamailio/commit/15883fef8f5b7205bbf68b765e856dd887c42954

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-05-02T15:11:23+02:00

tm: fix warnings for compilation

---

Modified: src/modules/tm/tm.c

---

Diff:  https://github.com/kamailio/kamailio/commit/15883fef8f5b7205bbf68b765e856dd887c42954.diff
Patch: https://github.com/kamailio/kamailio/commit/15883fef8f5b7205bbf68b765e856dd887c42954.patch

---

diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index 90c41f7..7d3ab19 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -996,7 +996,6 @@ static int ki_t_lookup_request(struct sip_msg* msg)
 static int ki_t_lookup_cancel_flags(sip_msg_t* msg, int flags)
 {
 	struct cell *ret;
-	int i=0;
 	if (msg->REQ_METHOD==METHOD_CANCEL) {
 		ret = t_lookupOriginalT( msg );
 		LM_DBG("lookup_original: t_lookupOriginalT returned: %p\n", ret);




More information about the sr-dev mailing list