Prechádzať zdrojové kódy

remove a redundant assert

Roger Dingledine 15 rokov pred
rodič
commit
8bac188572
1 zmenil súbory, kde vykonal 0 pridanie a 2 odobranie
  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? */