X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55b24eb8cd912f9a9db37193f31159634d93b293..17a546027262c3a97792d22108c6f652cf8b4046:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index a55bee4511..1d3ae8fffa 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -381,7 +381,9 @@ void wxLog::DoLogRecord(wxLogLevel level, // but to call both of them DoLog(level, (const char*)msg.mb_str(), info.timestamp); DoLog(level, (const wchar_t*)msg.wc_str(), info.timestamp); -#endif // WXWIN_COMPATIBILITY_2_8 +#else // !WXWIN_COMPATIBILITY_2_8 + wxUnusedVar(info); +#endif // WXWIN_COMPATIBILITY_2_8/!WXWIN_COMPATIBILITY_2_8 // TODO: it would be better to extract message formatting in a separate