summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2015-09-28 15:23:10 +0200
committerWillem Toorop <willem@nlnetlabs.nl>2015-09-28 15:23:10 +0200
commitc66e31189574ec4a22a44bf1d6cc922cd0b820b4 (patch)
treebe9ffe1e50a314a3967d812a27fbe91382369b7e
parent14e107b79298348d3c6ee02ca64b40e74c5572af (diff)
downloadldns-c66e31189574ec4a22a44bf1d6cc922cd0b820b4.tar.gz
Use of uninitialized value in ldns-dane.c
-rw-r--r--examples/ldns-dane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c
index e9bbb06e..b44a8cd9 100644
--- a/examples/ldns-dane.c
+++ b/examples/ldns-dane.c
@@ -586,7 +586,7 @@ ldns_status
dane_setup_resolver(ldns_resolver** res, ldns_rdf* nameserver_addr,
ldns_rr_list* keys, bool dnssec_off)
{
- ldns_status s;
+ ldns_status s = LDNS_STATUS_OK;
assert(res != NULL);