Browse Source

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

Ovidiu Sas 9 năm trước cách đây
mục cha
commit
f50c712f40
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      modules/topos/tps_msg.c

+ 0 - 2
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;