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

Timo Reimann timo.reimann at 1und1.de
Mon Aug 22 10:53:13 CEST 2011


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

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.

(cherry picked from commit
0e54244acb0064760844e709d9e949e32f827ba9)

---

 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 a4c2981..6816477 100644
--- a/modules_k/dialog/dlg_hash.c
+++ b/modules_k/dialog/dlg_hash.c
@@ -928,9 +928,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