mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r14294@Kushana: nickm | 2007-09-01 13:50:03 -0400
Oops. Initialize "changed" variable when removing obsolete guards. svn:r11346
This commit is contained in:
parent
10bd4f6ad6
commit
eca3634f62
@ -2107,7 +2107,7 @@ entry_guard_free(entry_guard_t *e)
|
|||||||
static int
|
static int
|
||||||
remove_obsolete_entry_guards(void)
|
remove_obsolete_entry_guards(void)
|
||||||
{
|
{
|
||||||
int changed, i;
|
int changed = 0, i;
|
||||||
for (i = 0; i < smartlist_len(entry_guards); ++i) {
|
for (i = 0; i < smartlist_len(entry_guards); ++i) {
|
||||||
entry_guard_t *entry = smartlist_get(entry_guards, i);
|
entry_guard_t *entry = smartlist_get(entry_guards, i);
|
||||||
const char *ver = entry->chosen_by_version;
|
const char *ver = entry->chosen_by_version;
|
||||||
|
Loading…
Reference in New Issue
Block a user