[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
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