Module: kamailio
Branch: master
Commit: 41f6d98cc19e514de6d0aea05cc1d17be3d95065
URL:
https://github.com/kamailio/kamailio/commit/41f6d98cc19e514de6d0aea05cc1d17…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-08-12T08:26:22+02:00
acc_diameter: removed unused variable
---
Modified: src/modules/acc_diameter/diam_tcp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/41f6d98cc19e514de6d0aea05cc1d17…
Patch:
https://github.com/kamailio/kamailio/commit/41f6d98cc19e514de6d0aea05cc1d17…
---
diff --git a/src/modules/acc_diameter/diam_tcp.c b/src/modules/acc_diameter/diam_tcp.c
index 77525479c5..59b8755ce2 100644
--- a/src/modules/acc_diameter/diam_tcp.c
+++ b/src/modules/acc_diameter/diam_tcp.c
@@ -95,7 +95,6 @@ int tcp_send_recv(int sfd, char* buf, int len, rd_buf_t* rb,
unsigned long int result_code;
AAAMessage *msg;
AAA_AVP *avp;
- char serviceType;
unsigned int m_id;
/* try to write the message to the Diameter client */
@@ -184,7 +183,6 @@ int tcp_send_recv(int sfd, char* buf, int len, rd_buf_t* rb,
LM_ERR("AVP_Service_Type not found\n");
return AAA_ERROR;
}
- serviceType = avp->data.s[0];
result_code = ntohl(*((unsigned long int*)(msg->res_code->data.s)));
switch(result_code)