summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-24 23:29:30 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-24 23:37:00 -0400
commit5f74749fbabe1122cbcd812c56ab0dc77c358f9d (patch)
tree345c9cc235107fde6acb25e8b8ec6d44a28c4470
parentd22d565331c7f8e02abb7720afd447c6b8760f21 (diff)
downloadtor-5f74749fbabe1122cbcd812c56ab0dc77c358f9d.tar.gz
tor-5f74749fbabe1122cbcd812c56ab0dc77c358f9d.zip
get rid of some dead code (leftover from commit fa04fe1)
-rw-r--r--src/or/router.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index f2741b70af..9b4c2445f4 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 */