瀏覽代碼

Remove some redundand code in control.c

Found by coverity
Sebastian Hahn 15 年之前
父節點
當前提交
e391a497ec
共有 1 個文件被更改,包括 0 次插入3 次删除
  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,