[or-cvs] r11068: dirserv.c:782: warning: `set_v1_dirty' might be used uniniti (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Fri Aug 10 03:07:01 UTC 2007
Author: arma
Date: 2007-08-09 23:07:00 -0400 (Thu, 09 Aug 2007)
New Revision: 11068
Modified:
tor/trunk/src/or/dirserv.c
Log:
dirserv.c:782: warning: `set_v1_dirty' might be used uninitialized in this function
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2007-08-09 22:32:33 UTC (rev 11067)
+++ tor/trunk/src/or/dirserv.c 2007-08-10 03:07:00 UTC (rev 11068)
@@ -779,7 +779,7 @@
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;
More information about the tor-commits
mailing list