From e391a497ecc5f6021bbf11c3749ec6425433c365 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Mon, 22 Feb 2010 10:41:46 +0100 Subject: Remove some redundand code in control.c Found by coverity --- src/or/control.c | 3 --- 1 file changed, 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, -- cgit v1.2.3-54-g00ecf