]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless Clang warning about unused class member in a test.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jul 2013 01:31:43 +0000 (01:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Jul 2013 01:31:43 +0000 (01:31 +0000)
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

tests/thread/misc.cpp

index ecdf07df450310f85bead7ee80a1c5666d01ea25..3c32fa04b517acfd520ca53cad5d29a8d537ccf2 100644 (file)
@@ -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());