[or-cvs] [tor/master 1/7] Remove some redundand code in control.c
nickm at torproject.org
nickm at torproject.org
Mon Feb 22 17:47:25 UTC 2010
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Mon, 22 Feb 2010 10:41:46 +0100
Subject: Remove some redundand code in control.c
Commit: e391a497ecc5f6021bbf11c3749ec6425433c365
Found by coverity
---
src/or/control.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/or/control.c b/src/or/control.c
index 9840ea6..b8e07a0 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2125,9 +2125,6 @@ handle_control_extendcircuit(control_connection_t *conn, uint32_t len,
SMARTLIST_FOREACH(args, char *, cp, tor_free(cp));
smartlist_free(args);
- if (!zero_circ && !circ) {
- goto done;
- }
routers = smartlist_create();
SMARTLIST_FOREACH(router_nicknames, const char *, n,
--
1.6.5
More information about the tor-commits
mailing list