[sr-dev] git:master:a22eda56: mtree: removed some unnoticed mi variables

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 4 08:52:55 CET 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-01-04T08:45:37+01:00

mtree: removed some unnoticed mi variables

---

Modified: src/modules/mtree/mtree_mod.c

---

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

---

diff --git a/src/modules/mtree/mtree_mod.c b/src/modules/mtree/mtree_mod.c
index 16ac522..ee03da8 100644
--- a/src/modules/mtree/mtree_mod.c
+++ b/src/modules/mtree/mtree_mod.c
@@ -1042,8 +1042,6 @@ int rpc_mtree_print_node(rpc_t* rpc, void* ctx, m_tree_t *tree, mt_node_t *pt,
 		char *code, int len)
 {
 	int i;
-	struct mi_node* node = NULL;
-	struct mi_attr* attr= NULL;
 	mt_is_t *tvalues;
 	str val;
 	void* th = NULL;
@@ -1110,9 +1108,6 @@ void rpc_mtree_list(rpc_t* rpc, void* ctx)
 {
 	str tname = {0, 0};
 	m_tree_t *pt;
-	struct mi_node* node = NULL;
-	struct mi_root* rpl_tree = NULL;
-	struct mi_node* rpl = NULL;
 	static char code_buf[MT_MAX_DEPTH+1];
 	int len;
 




More information about the sr-dev mailing list