summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d774dc0138..042b2dcf11 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)