[or-cvs] [tor/release-0.2.2 019/162] remove a redundant assert

arma at torproject.org arma at torproject.org
Mon Dec 20 03:06:29 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