commit 2e9be92cd7a3ca58d73f3bd127f97c08c21210e0 Author: Nick Mathewson nickm@torproject.org Date: Tue Dec 25 23:37:41 2012 -0500
Fix a possibly-unused-var warning. Thank you, GCC. --- src/or/directory.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/directory.c b/src/or/directory.c index d774dc0..042b2dc 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -365,7 +365,7 @@ static const routerstatus_t * directory_pick_generic_dirserver(dirinfo_type_t type, int pds_flags, uint8_t dir_purpose) { - const routerstatus_t *rs; + const routerstatus_t *rs = NULL; const or_options_t *options = get_options();
if (options->UseBridges)
tor-commits@lists.torproject.org