Browse Source

tsilo: remove unnecessary init in ts_append_branches()

Daniel-Constantin Mierla 10 months ago
parent
commit
0c238c8e3b
1 changed files with 0 additions and 2 deletions
  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 */
-	ptr = _r->transactions;
-
 	for(ptr = _r->transactions; ptr != NULL; ptr = ptr->next) {
 		LM_DBG("transaction %u:%u found for %.*s, going to append branches\n",
 				ptr->tindex, ptr->tlabel, t_uri->len, t_uri->s);