[sr-dev] git:4.3:d6d2474b: mem: removed unused variables

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 17 16:27:16 CEST 2015


Module: kamailio
Branch: 4.3
Commit: d6d2474bbbd6a6fd08cbede42ad1cd64cc47dc64
URL: https://github.com/kamailio/kamailio/commit/d6d2474bbbd6a6fd08cbede42ad1cd64cc47dc64

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-09-17T13:25:31+02:00

mem: removed unused variables

- two old vars not needed anymore after previous commit

(cherry picked from commit 16bcb9d257622a68eed44d6eea5e342f35dbde83)

---

Modified: mem/f_malloc.c

---

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

---

diff --git a/mem/f_malloc.c b/mem/f_malloc.c
index 834a017..a62665e 100644
--- a/mem/f_malloc.c
+++ b/mem/f_malloc.c
@@ -521,8 +521,6 @@ void* fm_malloc(struct fm_block* qm, unsigned long size)
  */
 static void fm_join_frag(struct fm_block* qm, struct fm_frag* f)
 {
-	int hash;
-	struct fm_frag *pf;
 	struct fm_frag *n;
 
 	n=FRAG_NEXT(f);




More information about the sr-dev mailing list