Commit 9d11e467 authored by Mark Andrews's avatar Mark Andrews
Browse files

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

parent 3e1fa841
......@@ -4240,15 +4240,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)
/*
......
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