From: Sebastian Hahn Date: Mon, 22 Feb 2010 09:41:46 +0000 (+0100) Subject: Remove some redundand code in control.c X-Git-Tag: tor-0.2.2.9-alpha~2^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e391a497ecc5f6021bbf11c3749ec6425433c365;p=thirdparty%2Ftor.git Remove some redundand code in control.c Found by coverity --- 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,