Explorar o código

remove a redundant assert

Roger Dingledine %!s(int64=15) %!d(string=hai) anos
pai
achega
8bac188572
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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? */