Module: kamailio
Branch: 4.4
Commit: 2271e6bdaf2916d1c50d367d09041b2d6142a09d
URL: 
https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2d6142a09d

Author: Ovidiu Sas <[email protected]>
Committer: Ovidiu Sas <[email protected]>
Date: 2016-03-14T17:09:17-04:00

modules/topos: fix warning: variable "ptsd" set but not used 
[-Wunused-but-set-variable]

(cherry picked from commit f50c712f401f50b8ca36addbd8440f418a9b266f)

---

Modified: modules/topos/tps_msg.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2d6142a09d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2d6142a09d.patch

---

diff --git a/modules/topos/tps_msg.c b/modules/topos/tps_msg.c
index da1adc9..a44ff34 100644
--- a/modules/topos/tps_msg.c
+++ b/modules/topos/tps_msg.c
@@ -489,13 +489,11 @@ int tps_response_received(sip_msg_t *msg)
        tps_data_t mtsd;
        tps_data_t stsd;
        tps_data_t btsd;
-       tps_data_t *ptsd;
        str lkey;
 
        memset(&mtsd, 0, sizeof(tps_data_t));
        memset(&stsd, 0, sizeof(tps_data_t));
        memset(&btsd, 0, sizeof(tps_data_t));
-       ptsd = &mtsd;
 
        lkey = msg->callid->body;
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to