Module: kamailio
Branch: master
Commit: 0c238c8e3b4a26e99b96378549376e8502ef750f
URL:
https://github.com/kamailio/kamailio/commit/0c238c8e3b4a26e99b96378549376e8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-11T08:41:46+01:00
tsilo: remove unnecessary init in ts_append_branches()
---
Modified: src/modules/tsilo/ts_append.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0c238c8e3b4a26e99b96378549376e8…
Patch:
https://github.com/kamailio/kamailio/commit/0c238c8e3b4a26e99b96378549376e8…
---
diff --git a/src/modules/tsilo/ts_append.c b/src/modules/tsilo/ts_append.c
index 6fd80486793..7ad83aaa02a 100644
--- a/src/modules/tsilo/ts_append.c
+++ b/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);