[sr-dev] git:master: modules_k/dialog: Remove superfluous node check.

Timo Reimann timo.reimann at 1und1.de
Wed Aug 17 11:20:35 CEST 2011


Module: sip-router
Branch: master
Commit: 0e54244acb0064760844e709d9e949e32f827ba9
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0e54244acb0064760844e709d9e949e32f827ba9

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 1und1.de>
Date:   Wed Aug 17 11:19:38 2011 +0200

modules_k/dialog: Remove superfluous node check.

---

 modules_k/dialog/dlg_hash.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules_k/dialog/dlg_hash.c b/modules_k/dialog/dlg_hash.c
index ed474af..c18cb9a 100644
--- a/modules_k/dialog/dlg_hash.c
+++ b/modules_k/dialog/dlg_hash.c
@@ -943,9 +943,6 @@ static inline int internal_mi_print_dlg(struct mi_node *rpl,
 	if(node1 == 0)
 		goto error;
 
-	if(node1 == 0)
-		goto error;
-
 	if (with_context) {
 		node1 = add_mi_node_child(node, 0, "context", 7, 0, 0);
 		if(node1 == 0)




More information about the sr-dev mailing list