Module: kamailio
Branch: master
Commit: 39b9ce7b101dde6878f245731eda060f947412ba
URL:
https://github.com/kamailio/kamailio/commit/39b9ce7b101dde6878f245731eda060…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-02-20T07:17:29+01:00
siptrace: removed unused variables
- reported by Juha Heinanen
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/39b9ce7b101dde6878f245731eda060…
Patch:
https://github.com/kamailio/kamailio/commit/39b9ce7b101dde6878f245731eda060…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 37591e4aa6..2c61c1b8fb 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -1224,7 +1224,6 @@ static void trace_onreply_out(struct cell *t, int type, struct
tmcb_params *ps)
struct sip_msg *msg;
struct sip_msg *req;
struct ip_addr to_ip;
- int len;
char statusbuf[8];
dest_info_t *dst;
@@ -1432,8 +1431,6 @@ int siptrace_net_data_recv(sr_event_param_t *evp)
{
sr_net_info_t *nd;
siptrace_data_t sto;
- char *cp;
- int olen;
if(evp->data == 0)
return -1;
@@ -1473,9 +1470,6 @@ int siptrace_net_data_recv(sr_event_param_t *evp)
trace_send_hep_duplicate(&sto.body, &sto.fromip, &sto.toip, NULL, NULL);
return 0;
-
-error:
- return -1;
}
/**
@@ -1486,9 +1480,6 @@ int siptrace_net_data_send(sr_event_param_t *evp)
sr_net_info_t *nd;
dest_info_t new_dst;
siptrace_data_t sto;
- char *cp;
- char *p0;
- int olen;
if(evp->data == 0)
return -1;