Pārlūkot izejas kodu

Remove some redundand code in control.c

Found by coverity
Sebastian Hahn 15 gadi atpakaļ
vecāks
revīzija
e391a497ec
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      src/or/control.c

+ 0 - 3
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,