|
@@ -48,10 +48,6 @@ static time_t time_to_download_next_consensus = 0;
|
|
|
|
|
|
static download_status_t consensus_dl_status = { 0, 0};
|
|
|
|
|
|
-
|
|
|
- * and that are still conflicted. */
|
|
|
-static smartlist_t *warned_conflicts = NULL;
|
|
|
-
|
|
|
|
|
|
* not being named. */
|
|
|
static int have_warned_about_invalid_status = 0;
|
|
@@ -76,11 +72,6 @@ networkstatus_reset_warnings(void)
|
|
|
rs->name_lookup_warned = 0);
|
|
|
}
|
|
|
|
|
|
- if (!warned_conflicts)
|
|
|
- warned_conflicts = smartlist_create();
|
|
|
- SMARTLIST_FOREACH(warned_conflicts, char *, cp, tor_free(cp));
|
|
|
- smartlist_clear(warned_conflicts);
|
|
|
-
|
|
|
have_warned_about_invalid_status = 0;
|
|
|
have_warned_about_old_version = 0;
|
|
|
have_warned_about_new_version = 0;
|
|
@@ -1312,11 +1303,6 @@ networkstatus_free_all(void)
|
|
|
current_consensus = NULL;
|
|
|
}
|
|
|
tor_free(consensus_waiting_for_certs_body);
|
|
|
- if (warned_conflicts) {
|
|
|
- SMARTLIST_FOREACH(warned_conflicts, char *, cp, tor_free(cp));
|
|
|
- smartlist_free(warned_conflicts);
|
|
|
- warned_conflicts = NULL;
|
|
|
- }
|
|
|
if (named_server_map) {
|
|
|
strmap_free(named_server_map, _tor_free);
|
|
|
}
|