From 3f65cc759519b57f351ed7a7ed6a71a2e7c0ac49 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Mar 2009 21:42:26 +0000 Subject: [PATCH] fix harmless unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/epolldispatcher.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- 2.45.2