]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup uninit variable in unit test (compiler does not understand assertion).
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Aug 2013 07:56:22 +0000 (07:56 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Aug 2013 07:56:22 +0000 (07:56 +0000)
git-svn-id: file:///svn/unbound/trunk@2935 be551aaa-1e26-0410-a405-d3ace91eadb9

testcode/unitverify.c

index d3fbf25f5312d2e1c8ae72c01398c2a6cd10b126..3ae2fcbb7aeb6676381ed3a503a00abbb395fe49 100644 (file)
@@ -422,7 +422,7 @@ nsec3_hash_test_entry(struct entry* e, rbtree_t* ct,
        struct query_info qinfo;
        struct reply_info* rep = NULL;
        struct ub_packed_rrset_key* answer, *nsec3;
-       struct nsec3_cached_hash* hash;
+       struct nsec3_cached_hash* hash = NULL;
        int ret;
        uint8_t* qname;