Module: sip-router
Branch: 4.1
Commit: 9c15e8444e99f33ca2f0c920d3cbb846d407f596
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c15e84…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed May 14 09:58:50 2014 +0200
presence_dialoginfo: get rid of unused variables warning
- priority and winning_priority are used in an alternative winning node
selection which is disabled now
- reported by Jua Heinanen
(cherry picked from commit 4f4641ea2a4018a72558c40d4878e9af7053be2d)
---
modules/presence_dialoginfo/notify_body.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/presence_dialoginfo/notify_body.c
b/modules/presence_dialoginfo/notify_body.c
index db8834b..92ece0a 100644
--- a/modules/presence_dialoginfo/notify_body.c
+++ b/modules/presence_dialoginfo/notify_body.c
@@ -101,7 +101,7 @@ str* agregate_xmls(str* pres_user, str* pres_domain, str** body_array,
int n)
xmlDocPtr doc = NULL;
xmlNodePtr root_node = NULL;
xmlNsPtr namespace = NULL;
- int winner_priority = -1, priority;
+ /*int winner_priority = -1, priority;*/
xmlNodePtr p_root= NULL;
xmlDocPtr* xml_array ;