git:master:41f6d98c: acc_diameter: removed unused variable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

git:master:41f6d98c: acc_diameter: removed unused variable

Daniel-Constantin Mierla-6
Module: kamailio
Branch: master
Commit: 41f6d98cc19e514de6d0aea05cc1d17be3d95065
URL: https://github.com/kamailio/kamailio/commit/41f6d98cc19e514de6d0aea05cc1d17be3d95065

Author: Daniel-Constantin Mierla <[hidden email]>
Committer: Daniel-Constantin Mierla <[hidden email]>
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/41f6d98cc19e514de6d0aea05cc1d17be3d95065.diff
Patch: https://github.com/kamailio/kamailio/commit/41f6d98cc19e514de6d0aea05cc1d17be3d95065.patch

---

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)


_______________________________________________
Kamailio (SER) - Development Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Loading...