Browse Source

Fix a possibly-unused-var warning. Thank you, GCC.

Nick Mathewson 11 years ago
parent
commit
2e9be92cd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/directory.c

+ 1 - 1
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)