Module: kamailio
Branch: master
Commit: eb218806e5a1143eca2ce51741859c7ac7505f4b
URL:
https://github.com/kamailio/kamailio/commit/eb218806e5a1143eca2ce51741859c7…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-05-06T18:47:14+02:00
tm: remove unused 'ret' variable in w_t_reply, compiler warning
---
Modified: src/modules/tm/tm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/eb218806e5a1143eca2ce51741859c7…
Patch:
https://github.com/kamailio/kamailio/commit/eb218806e5a1143eca2ce51741859c7…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index f264a0b781..426898f314 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -1373,7 +1373,7 @@ static int ki_t_reply(sip_msg_t* msg, int code, str* reason)
static int w_t_reply(struct sip_msg* msg, char* p1, char* p2)
{
- int code, ret = -1;
+ int code;
str reason;
if (msg->REQ_METHOD==METHOD_ACK) {