[sr-dev] git:5.1:d6da4789: cnxcc: removed unused variable

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

[sr-dev] git:5.1:d6da4789: cnxcc: removed unused variable

Daniel-Constantin Mierla
Module: kamailio
Branch: 5.1
Commit: d6da47896040ebf82ff5f0b6d31cd7e662216f5f
URL: https://github.com/kamailio/kamailio/commit/d6da47896040ebf82ff5f0b6d31cd7e662216f5f

Author: Daniel-Constantin Mierla <[hidden email]>
Committer: Daniel-Constantin Mierla <[hidden email]>
Date: 2017-12-04T09:24:48+01:00

cnxcc: removed unused variable

(cherry picked from commit 7bdf8f003bbf5e153d7835d09533c7e22377e8db)

---

Modified: src/modules/cnxcc/cnxcc_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/d6da47896040ebf82ff5f0b6d31cd7e662216f5f.diff
Patch: https://github.com/kamailio/kamailio/commit/d6da47896040ebf82ff5f0b6d31cd7e662216f5f.patch

---

diff --git a/src/modules/cnxcc/cnxcc_mod.c b/src/modules/cnxcc/cnxcc_mod.c
index e77345d745..2cd8a87c6a 100644
--- a/src/modules/cnxcc/cnxcc_mod.c
+++ b/src/modules/cnxcc/cnxcc_mod.c
@@ -1755,7 +1755,6 @@ static int __get_channel_count_helper(sip_msg_t *msg, str *sclient,
 
 static int __get_channel_count(sip_msg_t *msg, char *pclient, char *pcount)
 {
- pv_spec_t *pvcount = (pv_spec_t *)pcount;
  str sclient;
 
  if(fixup_get_svalue(msg, (gparam_t*)pclient, &sclient)<0) {


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