From: Vadim Zeitlin Date: Wed, 14 Mar 2007 21:13:57 +0000 (+0000) Subject: suppress unused parameter warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8d3a53745e168376dbbb6d541bb89bb9b9f1fd08 suppress unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index ab2cb5c06a..7a072ae63d 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -1434,6 +1434,8 @@ void Platform::DebugPrintf(const char *format, ...) { vsprintf(buffer,format,pArguments); va_end(pArguments); Platform::DebugDisplay(buffer); +#else + wxUnusedVar(format); #endif } diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index ab2cb5c06a..7a072ae63d 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -1434,6 +1434,8 @@ void Platform::DebugPrintf(const char *format, ...) { vsprintf(buffer,format,pArguments); va_end(pArguments); Platform::DebugDisplay(buffer); +#else + wxUnusedVar(format); #endif }