diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-12 05:52:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-12 05:52:59 +0000 |
commit | 705b4670d3089cd123282e9bffa5fb4a3ca92754 (patch) | |
tree | da4dcb82cd20e22cc775869c2f2f8d164448a1e5 /src | |
parent | d6b53010076441d4de21e1c4ddf26d2a69dc9fbf (diff) | |
download | tor-705b4670d3089cd123282e9bffa5fb4a3ca92754.tar.gz tor-705b4670d3089cd123282e9bffa5fb4a3ca92754.zip |
r17580@catbus: nickm | 2008-01-11 20:40:30 -0500
Fix policies.c build on gcc 4.2 with warnings.
svn:r13112
Diffstat (limited to 'src')
-rw-r--r-- | src/or/policies.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 51ace8e260..f4b52e93dc 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -651,7 +651,8 @@ exit_policy_remove_redundancies(smartlist_t *dest) for (i = 0; i < smartlist_len(dest)-1; ++i) { ap = smartlist_get(dest, i); for (j = i+1; j < smartlist_len(dest); ++j) { - tor_assert(j > i); + // tor_assert(j > i); // j starts out at i+1; j only increases; i only + // // decreases. tmp = smartlist_get(dest, j); if (ap->policy_type != tmp->policy_type) { if (addr_policy_intersects(ap, tmp)) |