Module: kamailio
Branch: master
Commit: 0547a4becbc6a48fdc473cfd26cdeedfa2a9317d
URL:
https://github.com/kamailio/kamailio/commit/0547a4becbc6a48fdc473cfd26cdeed…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-12-21T11:34:14Z
pv: remove another redunant variable definition (warning: unused variable
������innerIndex������)
---
Modified: src/modules/pv/pv_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0547a4becbc6a48fdc473cfd26cdeed…
Patch:
https://github.com/kamailio/kamailio/commit/0547a4becbc6a48fdc473cfd26cdeed…
---
diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 5375e95c418..1c822d014fa 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -2427,7 +2427,7 @@ int pv_get_hfl(sip_msg_t *msg, pv_param_t *param, pv_value_t *res)
while(ppib != NULL) {
if(n + ppib->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 = ppib->id[innerIndex].body.s;