Selaa lähdekoodia

tm: remove unused 'ret' variable in w_t_reply, compiler warning

Henning Westerholt 7 vuotta sitten
vanhempi
commit
eb218806e5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/modules/tm/tm.c

+ 1 - 1
src/modules/tm/tm.c

@@ -1373,7 +1373,7 @@ static int ki_t_reply(sip_msg_t* msg, int code, str* reason)
 
 
 static int w_t_reply(struct sip_msg* msg, char* p1, char* p2)
 static int w_t_reply(struct sip_msg* msg, char* p1, char* p2)
 {
 {
-	int code, ret = -1;
+	int code;
 	str reason;
 	str reason;
 
 
 	if (msg->REQ_METHOD==METHOD_ACK) {
 	if (msg->REQ_METHOD==METHOD_ACK) {