Module: kamailio
Branch: master
Commit: b0e16a57eab4d4d4113054aa2b79452da82dd7c9
URL:
https://github.com/kamailio/kamailio/commit/b0e16a57eab4d4d4113054aa2b79452…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-10-08T13:05:20+02:00
call_control: fix warning unused variable
Warning: call_control.c:1098:7: warning: unused
variable 'param' [-Wunused-variable]
int *param;
^
Warning: call_control.c:1099:13: warning: unused variable 'type'
[-Wunused-variable]
modparam_t type;
^
2 warnings generated.
---
Modified: src/modules/call_control/call_control.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b0e16a57eab4d4d4113054aa2b79452…
Patch:
https://github.com/kamailio/kamailio/commit/b0e16a57eab4d4d4113054aa2b79452…
---
diff --git a/src/modules/call_control/call_control.c
b/src/modules/call_control/call_control.c
index 41b36eeedd6..a635f107324 100644
--- a/src/modules/call_control/call_control.c
+++ b/src/modules/call_control/call_control.c
@@ -1095,9 +1095,6 @@ static int CallControl(struct sip_msg *msg, char *str1, char *str2)
static int mod_init(void)
{
pv_spec_t avp_spec;
- int *param;
- modparam_t type;
-
// initialize the canonical_uri_avp structure
if(canonical_uri_avp.spec.s == NULL || canonical_uri_avp.spec.len <= 0) {