瀏覽代碼

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(