Module: kamailio
Branch: 4.4
Commit: 2271e6bdaf2916d1c50d367d09041b2d6142a09d
URL:
https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
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/2271e6bdaf2916d1c50d367d09041b2…
Patch:
https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2…
---
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;