Module: kamailio
Branch: master
Commit: f50c712f401f50b8ca36addbd8440f418a9b266f
URL:
https://github.com/kamailio/kamailio/commit/f50c712f401f50b8ca36addbd8440f4…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2016-03-14T17:07:46-04:00
modules/topos: fix warning: variable "ptsd" set but not used
[-Wunused-but-set-variable]
---
Modified: modules/topos/tps_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f50c712f401f50b8ca36addbd8440f4…
Patch:
https://github.com/kamailio/kamailio/commit/f50c712f401f50b8ca36addbd8440f4…
---
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;