Module: kamailio
Branch: master
Commit: f8c6ece395a9601499c01f368c645d1d441a1789
URL:
https://github.com/kamailio/kamailio/commit/f8c6ece395a9601499c01f368c645d1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-08-15T09:01:50+02:00
rls: removed unused variable
- reported by Juha Heinanen
---
Modified: src/modules/rls/subscribe.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f8c6ece395a9601499c01f368c645d1…
Patch:
https://github.com/kamailio/kamailio/commit/f8c6ece395a9601499c01f368c645d1…
---
diff --git a/src/modules/rls/subscribe.c b/src/modules/rls/subscribe.c
index dc76e4fdba..655a9cde94 100644
--- a/src/modules/rls/subscribe.c
+++ b/src/modules/rls/subscribe.c
@@ -337,7 +337,6 @@ int reply_421(struct sip_msg* msg)
int reply_200(struct sip_msg* msg, str* contact, int expires)
{
str hdr_append;
- int len;
hdr_append.s = (char *)pkg_malloc( sizeof(char)*(contact->len+70));
if(hdr_append.s == NULL)