diff --git a/lib/dns/tests/dbversion_test.c b/lib/dns/tests/dbversion_test.c index 79272735ca..2046e8ce68 100644 --- a/lib/dns/tests/dbversion_test.c +++ b/lib/dns/tests/dbversion_test.c @@ -186,9 +186,9 @@ find(void **state) { } dns_rdataset_init(&rdataset); - check_assertion(dns_db_find(db1, dns_rootname, v2, - dns_rdatatype_soa, 0, 0, NULL, - name, &rdataset, NULL)); + check_assertion((void)dns_db_find(db1, dns_rootname, v2, + dns_rdatatype_soa, 0, 0, NULL, + name, &rdataset, NULL)); } /*