diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-06 12:26:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-17 14:50:05 -0500 |
commit | 88d7312ff29cda982f928caf3ddab4df189b245c (patch) | |
tree | aacedf05bec80be521dd202b13ee6ce3fe99e8b9 | |
parent | 8969d9e0b6b95e29713ffabc7cb4492a4dba2e28 (diff) | |
download | tor-88d7312ff29cda982f928caf3ddab4df189b245c.tar.gz tor-88d7312ff29cda982f928caf3ddab4df189b245c.zip |
Fix another uninitialized var warning from GCC
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 6fff70b6b2..65d1be5032 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1285,7 +1285,7 @@ router_pick_trusteddirserver_impl(const smartlist_t *sourcelist, smartlist_t *direct, *tunnel; smartlist_t *overloaded_direct, *overloaded_tunnel; const routerinfo_t *me = router_get_my_routerinfo(); - const routerstatus_t *result; + const routerstatus_t *result=NULL; time_t now = time(NULL); const int requireother = ! (flags & PDS_ALLOW_SELF); const int fascistfirewall = ! (flags & PDS_IGNORE_FASCISTFIREWALL); |