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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@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;
 


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to