silence unused variable 'pollstate' warning [RT #43109]

(cherry picked from commit 9d11e46714)
This commit is contained in:
Mark Andrews 2016-08-30 14:25:41 +10:00
parent 2a82be6f3d
commit c2c51d71fa

View file

@ -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)
/*