[sr-dev] git:master:3c7dd38a: pipelimit: remove unused variable 'ret', fix compile warning

Henning Westerholt hw at kamailio.org
Wed Aug 15 22:59:03 CEST 2018


Module: kamailio
Branch: master
Commit: 3c7dd38aecd3ee63edcb9ab418ce3a3fcc2c6a8a
URL: https://github.com/kamailio/kamailio/commit/3c7dd38aecd3ee63edcb9ab418ce3a3fcc2c6a8a

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-08-15T22:58:31+02:00

pipelimit: remove unused variable 'ret', fix compile warning

---

Modified: src/modules/pipelimit/pl_ht.c

---

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

---

diff --git a/src/modules/pipelimit/pl_ht.c b/src/modules/pipelimit/pl_ht.c
index 07f69f666d..fa2c9c5ad0 100644
--- a/src/modules/pipelimit/pl_ht.c
+++ b/src/modules/pipelimit/pl_ht.c
@@ -477,7 +477,6 @@ void rpc_pl_list(rpc_t *rpc, void *c)
 	int i;
 	pl_pipe_t *it;
 	str pipeid = STR_NULL;
-	int ret;
 
 	if (rpc->scan(c, "*S", &pipeid) < 1) {
 		pipeid.s = NULL;




More information about the sr-dev mailing list