X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7132f4b4b2bbef6d0f0c41c690909178d2c168f..3df31b2d6e6ee809b2edc5cd2dac6275407c26c4:/src/unix/epolldispatcher.cpp diff --git a/src/unix/epolldispatcher.cpp b/src/unix/epolldispatcher.cpp index d42c4fea3b..7d751e8d57 100644 --- a/src/unix/epolldispatcher.cpp +++ b/src/unix/epolldispatcher.cpp @@ -42,8 +42,10 @@ // helper: return EPOLLxxx mask corresponding to the given flags (and also log // debugging messages about it) -static uint32_t GetEpollMask(int flags, int WXUNUSED_UNLESS_DEBUG(fd)) +static uint32_t GetEpollMask(int flags, int fd) { + wxUnusedVar(fd); // unused if wxLogTrace() disabled + uint32_t ep = 0; if ( flags & wxFDIO_INPUT )