From b4123b5b9dd8fd58592cc8af907ed5bc8628a927 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Jul 2013 01:31:36 +0000 Subject: [PATCH] Suppress harmless clang 3.3 warning about unused wxMessageOutputBest field. Clang detects that a class member is unused (under non-Windows systems) which is quite impressive but not really useful in this particular case, so suppress this warning by "using" it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/msgout.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index 9647088067..35798a2dc4 100644 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -126,6 +126,8 @@ void wxMessageOutputBest::Output(const wxString& str) ::MessageBox(NULL, str.t_str(), title.t_str(), MB_ICONINFORMATION | MB_OK); #else // !__WINDOWS__ + wxUnusedVar(m_flags); + // TODO: use the native message box for the other ports too wxMessageOutputStderr::Output(str); #endif // __WINDOWS__/!__WINDOWS__ -- 2.47.2