浏览代码

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