mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
tests: Workaround scan-build false positive with FD_ZERO/FD_SET
This commit is contained in:
parent
80b55d25de
commit
7aa7f8592c
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue