[or-cvs] r11346: Oops. Initialize "changed" variable when removing obsolete g (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Sat Sep 1 17:50:29 UTC 2007
Author: nickm
Date: 2007-09-01 13:50:29 -0400 (Sat, 01 Sep 2007)
New Revision: 11346
Modified:
tor/trunk/
tor/trunk/src/or/circuitbuild.c
Log:
r14294 at Kushana: nickm | 2007-09-01 13:50:03 -0400
Oops. Initialize "changed" variable when removing obsolete guards.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r14294] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/circuitbuild.c
===================================================================
--- tor/trunk/src/or/circuitbuild.c 2007-09-01 17:45:07 UTC (rev 11345)
+++ tor/trunk/src/or/circuitbuild.c 2007-09-01 17:50:29 UTC (rev 11346)
@@ -2107,7 +2107,7 @@
static int
remove_obsolete_entry_guards(void)
{
- int changed, i;
+ int changed = 0, i;
for (i = 0; i < smartlist_len(entry_guards); ++i) {
entry_guard_t *entry = smartlist_get(entry_guards, i);
const char *ver = entry->chosen_by_version;
More information about the tor-commits
mailing list