فهرست منبع

tsilo: remove unnecessary init in ts_append_branches()

Daniel-Constantin Mierla 10 ماه پیش
والد
کامیت
0c238c8e3b
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/modules/tsilo/ts_append.c

+ 0 - 2
src/modules/tsilo/ts_append.c

@@ -208,8 +208,6 @@ int ts_append_branches(sip_msg_t *msg, str *ruri)
 	}
 	}
 
 
 	/* cycle through existing transactions */
 	/* cycle through existing transactions */
-	ptr = _r->transactions;
-
 	for(ptr = _r->transactions; ptr != NULL; ptr = ptr->next) {
 	for(ptr = _r->transactions; ptr != NULL; ptr = ptr->next) {
 		LM_DBG("transaction %u:%u found for %.*s, going to append branches\n",
 		LM_DBG("transaction %u:%u found for %.*s, going to append branches\n",
 				ptr->tindex, ptr->tlabel, t_uri->len, t_uri->s);
 				ptr->tindex, ptr->tlabel, t_uri->len, t_uri->s);