aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-10 03:07:00 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-10 03:07:00 +0000
commit59204840832482a128039f5fb6d18faccfb11207 (patch)
treee66331bc186132acfb5a6211fa4526fa014790e3
parent5070a1e3ef55550526ea4cb8180a3aff1ef5fb8a (diff)
downloadtor-59204840832482a128039f5fb6d18faccfb11207.tar
tor-59204840832482a128039f5fb6d18faccfb11207.tar.gz
dirserv.c:782: warning: `set_v1_dirty' might be used uninitialized in this function
svn:r11068
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index b1ea8cf84..a73c45089 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -779,7 +779,7 @@ void
directory_set_dirty(void)
{
time_t now = time(NULL);
- int set_v1_dirty;
+ int set_v1_dirty=0;
#ifdef FULL_V1_DIRECTORIES
set_v1_dirty = 1;