[or-cvs] [tor/master] make the os x tiger compiler shut up

arma at seul.org arma at seul.org
Mon Dec 21 09:59:02 UTC 2009


Author: Roger Dingledine <arma at torproject.org>
Date: Mon, 21 Dec 2009 04:58:03 -0500
Subject: make the os x tiger compiler shut up
Commit: 7d832cc988528dde24871b5725944ccb5d1c39ce

it's wrong, but that's our problem not its problem
---
 src/or/circuitbuild.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 5acfb3e..7eafeb3 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -3202,7 +3202,7 @@ entry_guards_compute_status(void)
   if (changed) {
     SMARTLIST_FOREACH_BEGIN(entry_guards, entry_guard_t *, entry) {
       const char *reason = digestmap_get(reasons, entry->identity);
-      const char *live_msg;
+      const char *live_msg = "";
       routerinfo_t *r = entry_is_live(entry, 0, 1, 0, &live_msg);
       log_info(LD_CIRC, "Summary: Entry '%s' is %s, %s%s%s, and %s%s.",
                entry->nickname,
-- 
1.5.6.5



More information about the tor-commits mailing list