From: Vadim Zeitlin Date: Wed, 26 Sep 2007 00:39:04 +0000 (+0000) Subject: fix harmless unused parameter warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c8fe7fda21fd024ef67ad65fbb0eda23cc141d85 fix harmless unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 66ca6ed003..0e7f869b63 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -412,7 +412,9 @@ bool wxTextCtrlBase::EmulateKeyPress(const wxKeyEvent& event) return true; } -#endif // !__WIN32__ +#else // __WIN32__ + wxUnusedVar(event); +#endif // !__WIN32__/__WIN32__ return false; }