mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-24 07:41:10 -04:00
silence unused variable 'pollstate' warning [RT #43109]
(cherry picked from commit 9d11e46714)
This commit is contained in:
parent
2a82be6f3d
commit
c2c51d71fa
1 changed files with 3 additions and 3 deletions
|
|
@ -3893,15 +3893,15 @@ watcher(void *uap) {
|
|||
const char *fnname = "ioctl(DP_POLL)";
|
||||
struct dvpoll dvp;
|
||||
int pass;
|
||||
#if defined(ISC_SOCKET_USE_POLLWATCH)
|
||||
pollstate_t pollstate = poll_idle;
|
||||
#endif
|
||||
#elif defined (USE_SELECT)
|
||||
const char *fnname = "select()";
|
||||
int maxfd;
|
||||
int ctlfd;
|
||||
#endif
|
||||
char strbuf[ISC_STRERRORSIZE];
|
||||
#ifdef ISC_SOCKET_USE_POLLWATCH
|
||||
pollstate_t pollstate = poll_idle;
|
||||
#endif
|
||||
|
||||
#if defined (USE_SELECT)
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue