Commit 7aa7f859 authored by Ondřej Surý's avatar Ondřej Surý

tests: Workaround scan-build false positive with FD_ZERO/FD_SET

parent 80b55d25
......@@ -146,12 +146,11 @@ query(void) {
dns_fixedname_t name;
dns_fixedname_t found;
dns_db_t *db;
char *s;
isc_buffer_t buffer;
isc_result_t result;
dns_rdataset_t rdataset;
dns_rdataset_t sigset;
fd_set rfdset;
fd_set rfdset = { { 0 } };
db = NULL;
result = dns_zone_getdb(zone, &db);
......@@ -166,7 +165,7 @@ query(void) {
dns_rdataset_init(&sigset);
do {
char *s;
fprintf(stdout, "zone_test ");
fflush(stdout);
FD_ZERO(&rfdset);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment