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

(cherry picked from commit 9d11e46714)
This commit is contained in:
Mark Andrews
2016-08-30 14:26:27 +10:00
parent 25a3193bdc
commit fcc8f5b565
+3 -3
View File
@@ -4223,15 +4223,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)
/*