poll-loop: Ignore 'wevent' in poll_fd_wait_at() on non-Windows.
[cascardo/ovs.git] / lib / poll-loop.c
index 510903e..788fd16 100644 (file)
@@ -106,6 +106,8 @@ poll_fd_wait_at(int fd, HANDLE wevent, short int events, const char *where)
         VLOG_ERR("No event to wait fd %d", fd);
         return;
     }
+#else
+    wevent = 0;
 #endif
 
     /* Check for duplicate.  If found, "or" the event. */