diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-02-22 10:41:46 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-02-22 10:41:46 +0100 |
commit | e391a497ecc5f6021bbf11c3749ec6425433c365 (patch) | |
tree | 41de3ab7d6dcb4c536c830da0a139c97d6b09927 | |
parent | a7e0b2d6d9f7aaca005d267af6950abe4dd74d89 (diff) | |
download | tor-e391a497ecc5f6021bbf11c3749ec6425433c365.tar.gz tor-e391a497ecc5f6021bbf11c3749ec6425433c365.zip |
Remove some redundand code in control.c
Found by coverity
-rw-r--r-- | 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 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, |