summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-02-22 10:41:46 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-02-22 10:41:46 +0100
commite391a497ecc5f6021bbf11c3749ec6425433c365 (patch)
tree41de3ab7d6dcb4c536c830da0a139c97d6b09927
parenta7e0b2d6d9f7aaca005d267af6950abe4dd74d89 (diff)
downloadtor-e391a497ecc5f6021bbf11c3749ec6425433c365.tar.gz
tor-e391a497ecc5f6021bbf11c3749ec6425433c365.zip
Remove some redundand code in control.c
Found by coverity
-rw-r--r--src/or/control.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 9840ea6294..b8e07a0c84 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,