[sr-dev] git:master: core: removed unused piece of code

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 15 20:55:49 CET 2010


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Dec 15 20:54:38 2010 +0100

core: removed unused piece of code

- reported by Klaus Darilion

---

 dset.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dset.c b/dset.c
index 1e5c9e7..f8bb337 100644
--- a/dset.c
+++ b/dset.c
@@ -289,11 +289,6 @@ int append_branch(struct sip_msg* msg, str* uri, str* dst_uri, str* path,
 {
 	str luri;
 
-#ifdef USE_LOCAL_ROUTE
-	if (unlikely(dset_state==0))
-		return -1;
-#endif
-
 	/* if we have already set up the maximum number
 	 * of branches, don't try new ones 
 	 */




More information about the sr-dev mailing list