Browse Source

Resolve a compiler warning about uninitialized use

svn:r10940
Peter Palfrader 18 years ago
parent
commit
1f4275451b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
src/or/routerlist.c

@@ -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(