[sr-dev] git:master:7bdf8f00: cnxcc: removed unused variable

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 28 10:50:11 CET 2017


Module: kamailio
Branch: master
Commit: 7bdf8f003bbf5e153d7835d09533c7e22377e8db
URL: https://github.com/kamailio/kamailio/commit/7bdf8f003bbf5e153d7835d09533c7e22377e8db

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-11-28T10:49:30+01:00

cnxcc: removed unused variable

---

Modified: src/modules/cnxcc/cnxcc_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/7bdf8f003bbf5e153d7835d09533c7e22377e8db.diff
Patch: https://github.com/kamailio/kamailio/commit/7bdf8f003bbf5e153d7835d09533c7e22377e8db.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) {




More information about the sr-dev mailing list