[or-cvs] [tor/maint-0.2.2 2/8] remove a redundant assert

nickm at torproject.org nickm at torproject.org
Wed Sep 29 04:33:54 UTC 2010


Author: Roger Dingledine <arma at torproject.org>
Date: Thu, 23 Sep 2010 22:10:30 -0400
Subject: remove a redundant assert
Commit: 8bac1885729ba995397f673575ed58bbb0d698a8

---
 src/or/circuitbuild.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index cc94a74..90ae92a 100644
--- a/src/or/circuitbuild.c
+++ b/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? */
-- 
1.7.1




More information about the tor-commits mailing list