]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Resolve a compiler warning about uninitialized use
authorPeter Palfrader <peter@palfrader.org>
Fri, 27 Jul 2007 01:10:23 +0000 (01:10 +0000)
committerPeter Palfrader <peter@palfrader.org>
Fri, 27 Jul 2007 01:10:23 +0000 (01:10 +0000)
svn:r10940

src/or/routerlist.c

index 49069380a5d836bbb0ec7aba6afb13d19c08085c..ac74617bda793261875fab2ea9e23f7946f1e376 100644 (file)
@@ -207,7 +207,7 @@ trusted_dirs_load_certs_from_string(const char *contents, int from_store)
 
   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(