summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-30 21:38:45 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-30 21:38:45 +0000
commit808e584a875e12ee084b49636283a1a24fce5f91 (patch)
tree7fdf3e9e217c9b6583bbf7831735b63f53d93a9a
parent6e4608701d7b426a872368a367b9426492101429 (diff)
downloadtor-808e584a875e12ee084b49636283a1a24fce5f91.tar.gz
tor-808e584a875e12ee084b49636283a1a24fce5f91.zip
remove a never-used smartlist in routerlist.c
svn:r5176
-rw-r--r--src/or/routerlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index ddd33e7e82..b45877f425 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -64,7 +64,7 @@ router_reload_networkstatus(void)
{
char filename[512];
struct stat st;
- smartlist_t *entries, *bad_names;
+ smartlist_t *entries;
char *s;
tor_assert(get_options()->DataDirectory);
if (!networkstatus_list)
@@ -73,7 +73,6 @@ router_reload_networkstatus(void)
tor_snprintf(filename,sizeof(filename),"%s/cached-status",
get_options()->DataDirectory);
entries = tor_listdir(filename);
- bad_names = smartlist_create();
SMARTLIST_FOREACH(entries, const char *, fn, {
char buf[DIGEST_LEN];
if (strlen(fn) != HEX_DIGEST_LEN ||