[tor-commits] [tor/master] get rid of some dead code (leftover from commit fa04fe1)

nickm at torproject.org nickm at torproject.org
Thu May 25 12:55:02 UTC 2017


commit 5f74749fbabe1122cbcd812c56ab0dc77c358f9d
Author: Roger Dingledine <arma at torproject.org>
Date:   Wed May 24 23:29:30 2017 -0400

    get rid of some dead code (leftover from commit fa04fe1)
---
 src/or/router.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/or/router.c b/src/or/router.c
index f2741b7..9b4c244 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2309,7 +2309,6 @@ router_build_fresh_descriptor(routerinfo_t **r, extrainfo_t **e)
          }
          if (is_legal) {
            smartlist_add_strdup(ri->declared_family, name);
-           name = NULL;
          }
        } else if (router_digest_is_me(member->identity)) {
          /* Don't list ourself in our own family; that's redundant */





More information about the tor-commits mailing list