]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a possibly-unused-var warning. Thank you, GCC.
authorNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:37:41 +0000 (23:37 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:37:41 +0000 (23:37 -0500)
src/or/directory.c

index d774dc0138414db7c5b95f095715063098a6ab4f..042b2dcf11aaf734540286c220b8a30185b8b80a 100644 (file)
@@ -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)