[sr-dev] git:4.4:2271e6bd: modules/topos: fix warning: variable "ptsd" set but not used [-Wunused-but-set-variable]
Ovidiu Sas
osas at voipembedded.com
Mon Mar 14 22:09:35 CET 2016
Module: kamailio
Branch: 4.4
Commit: 2271e6bdaf2916d1c50d367d09041b2d6142a09d
URL: https://github.com/kamailio/kamailio/commit/2271e6bdaf2916d1c50d367d09041b2d6142a09d
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at 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/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;
More information about the sr-dev
mailing list