]> git.saurik.com Git - wxWidgets.git/commitdiff
fix harmless unused parameter warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 21:42:26 +0000 (21:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 21:42:26 +0000 (21:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/epolldispatcher.cpp

index d42c4fea3b27c1380bdd0e4258dcac3b563f7783..7d751e8d576f2b7913a3fa9405e0bbc534dcd2c0 100644 (file)
 
 // 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 )