소스 검색

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 */
-	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);