mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Resolve a compiler warning about uninitialized use
svn:r10940
This commit is contained in:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user