summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 8dac7fdac1..0b540fafdd 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1262,7 +1262,6 @@ router_set_networkstatus(const char *s, time_t arrived_at, int is_cached)
if (!is_cached) {
const char *datadir = get_options()->DataDirectory;
- char fp[HEX_DIGEST_LEN+1];
size_t len = strlen(datadir)+64;
char *fn = tor_malloc(len+1);
tor_snprintf(fn, len, "%s/cached-status/%s",datadir,fp);