diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-16 22:15:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-16 22:15:14 +0000 |
commit | b837191fd0e897cbc5fc33874190bab8bbb83268 (patch) | |
tree | 96b7bf77047a1873c56931c4f1387cd3c36f79c8 /src/or/rephist.c | |
parent | e043b86f47185e0d9df53dab12d42e46c8c35b83 (diff) | |
download | tor-b837191fd0e897cbc5fc33874190bab8bbb83268.tar.gz tor-b837191fd0e897cbc5fc33874190bab8bbb83268.zip |
r12768@catbus: nickm | 2007-05-16 17:25:33 -0400
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 802458c56f..ae9442dd55 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -664,7 +664,7 @@ rep_hist_update_state(or_state_t *state) s_values = r?&state->BWHistoryReadValues :&state->BWHistoryWriteValues; if (*s_values) { - SMARTLIST_FOREACH(*s_values, char *, cp, tor_free(cp)); + SMARTLIST_FOREACH(*s_values, char *, val, tor_free(val)); smartlist_free(*s_values); } if (! server_mode(get_options())) { |