Module: kamailio
Branch: master
Commit: 71fce8d061c50e6ad80947f16c1fe6ed8760d634
URL: 
https://github.com/kamailio/kamailio/commit/71fce8d061c50e6ad80947f16c1fe6ed8760d634

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2017-04-03T14:02:28+02:00

pv: remove unused vars in $hdrc(...) implementation

- reported by Juha Heinanen

---

Modified: src/modules/pv/pv_core.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/71fce8d061c50e6ad80947f16c1fe6ed8760d634.diff
Patch: 
https://github.com/kamailio/kamailio/commit/71fce8d061c50e6ad80947f16c1fe6ed8760d634.patch

---

diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 40a9952..cf0b606 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -1802,13 +1802,8 @@ int pv_get_hdr(struct sip_msg *msg,  pv_param_t *param, 
pv_value_t *res)
  */
 int pv_get_hdrc(struct sip_msg *msg,  pv_param_t *param, pv_value_t *res)
 {
-       int idx;
-       int idxf;
        pv_value_t tv;
        struct hdr_field *hf;
-       struct hdr_field *hf0;
-       char *p, *p_ini;
-       int n, p_size;
        int hcount;
 
        if(msg==NULL || res==NULL || param==NULL)


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to