Преглед на файлове

Resolve a compiler warning about uninitialized use

svn:r10940
Peter Palfrader преди 18 години
родител
ревизия
1f4275451b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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(