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

[or-cvs] r10940: Resolve a compiler warning about uninitialized use (tor/trunk/src/or)



Author: weasel
Date: 2007-07-26 21:10:23 -0400 (Thu, 26 Jul 2007)
New Revision: 10940

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Resolve a compiler warning about uninitialized use

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-07-26 21:26:57 UTC (rev 10939)
+++ tor/trunk/src/or/routerlist.c	2007-07-27 01:10:23 UTC (rev 10940)
@@ -207,7 +207,7 @@
 
   for (s = contents; *s; s = eos) {
     authority_cert_t *cert = authority_cert_parse_from_string(s, &eos);
-    int found;
+    int found = 0;
     if (!cert)
       break;
     ds = trusteddirserver_get_by_v3_auth_digest(