aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-16 22:15:14 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-16 22:15:14 +0000
commitb837191fd0e897cbc5fc33874190bab8bbb83268 (patch)
tree96b7bf77047a1873c56931c4f1387cd3c36f79c8 /src/or/hibernate.c
parente043b86f47185e0d9df53dab12d42e46c8c35b83 (diff)
downloadtor-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/hibernate.c')
-rw-r--r--src/or/hibernate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 8dd9997465..6c5e711cae 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -221,11 +221,11 @@ accounting_parse_options(or_options_t *options, int validate_only)
cfg_start_hour = (int)h;
cfg_start_min = (int)m;
}
- SMARTLIST_FOREACH(items, char *, s, tor_free(s));
+ SMARTLIST_FOREACH(items, char *, item, tor_free(item));
smartlist_free(items);
return 0;
err:
- SMARTLIST_FOREACH(items, char *, s, tor_free(s));
+ SMARTLIST_FOREACH(items, char *, item, tor_free(item));
smartlist_free(items);
return -1;
}