Module: kamailio
Branch: master
Commit: b2045d559ed720789df80f543fc00923a07ada83
URL:
https://github.com/kamailio/kamailio/commit/b2045d559ed720789df80f543fc0092…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-12-21T11:54:52Z
pv: remove another redunant variable definition related commit 8ed4165fd3b0a33
---
Modified: src/modules/pv/pv_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b2045d559ed720789df80f543fc0092…
Patch:
https://github.com/kamailio/kamailio/commit/b2045d559ed720789df80f543fc0092…
---
diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 1c822d014fa..03d025bba2f 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -2479,7 +2479,7 @@ int pv_get_hfl(sip_msg_t *msg, pv_param_t *param, pv_value_t *res)
while(paib != NULL) {
if(n + paib->num_ids > idx) {
/* Calculate the index within this specific list */
- int innerIndex = idx - n;
+ innerIndex = idx - n;
/* Access the desired element within this list */
sval.s = paib->id[innerIndex].body.s;