[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5f74749fbabe1122cbcd812c56ab0dc77c358f9d
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
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 */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits