From 8d3a53745e168376dbbb6d541bb89bb9b9f1fd08 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 14 Mar 2007 21:13:57 +0000 Subject: [PATCH] suppress unused parameter warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 2 ++ src/stc/PlatWX.cpp | 2 ++ 2 files changed, 4 insertions(+) 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 } -- 2.45.2