aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-07-27 01:10:23 +0000
committerPeter Palfrader <peter@palfrader.org>2007-07-27 01:10:23 +0000
commit1f4275451b08be964b4ec71181d12fa70800ffa4 (patch)
treef6cf4502d4476896531cd124982adaa9f5bfa961 /src
parenteed888a2b70b8b2dd4e9ef0c195aa18fc2d23537 (diff)
downloadtor-1f4275451b08be964b4ec71181d12fa70800ffa4.tar
tor-1f4275451b08be964b4ec71181d12fa70800ffa4.tar.gz
Resolve a compiler warning about uninitialized use
svn:r10940
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 49069380a..ac74617bd 100644
--- a/src/or/routerlist.c
+++ b/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(