From: Vadim Zeitlin Date: Mon, 15 Jul 2013 01:31:43 +0000 (+0000) Subject: Fix harmless Clang warning about unused class member in a test. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a2ae66251c6b0d3dcd9f1270e8823d9d700dd2c0 Fix harmless Clang warning about unused class member in a test. The m_i field is only used in the currently commented out debugging messages, suppress a warning about it being unused. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/thread/misc.cpp b/tests/thread/misc.cpp index ecdf07df45..3c32fa04b5 100644 --- a/tests/thread/misc.cpp +++ b/tests/thread/misc.cpp @@ -168,6 +168,8 @@ public: virtual ExitCode Entry() { + wxUnusedVar(m_i); + //wxPrintf(wxT("%s: Thread #%d (%ld) starting to wait for semaphore...\n"), // wxDateTime::Now().FormatTime().c_str(), m_i, (long)GetId());