aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-25 23:37:41 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-25 23:37:41 -0500
commit2e9be92cd7a3ca58d73f3bd127f97c08c21210e0 (patch)
tree0054e89fc5ed60089b96ab7360e1b5f7a5c8799c /src
parent01a09e8f8601ce61be500c92ea200c29e4389c7a (diff)
downloadtor-2e9be92cd7a3ca58d73f3bd127f97c08c21210e0.tar
tor-2e9be92cd7a3ca58d73f3bd127f97c08c21210e0.tar.gz
Fix a possibly-unused-var warning. Thank you, GCC.
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index d774dc013..042b2dcf1 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)