瀏覽代碼

remove a redundant assert

Roger Dingledine 15 年之前
父節點
當前提交
8bac188572
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/or/circuitbuild.c

+ 0 - 2
src/or/circuitbuild.c

@@ -3209,8 +3209,6 @@ entry_guard_set_status(entry_guard_t *e, routerinfo_t *ri,
   char buf[HEX_DIGEST_LEN+1];
   int changed = 0;
 
-  tor_assert(options); /* dead code */
-
   *reason = NULL;
 
   /* Do we want to mark this guard as bad? */