diff --git a/src/common/intl.cpp b/src/common/intl.cpp index ff680307af..004aadbe80 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -3097,6 +3097,8 @@ wxString GetDateFormatFromLangInfo(wxLocaleInfo index) return fmtDateOnly; #else // !HAVE_LANGINFO_H + wxUnusedVar(index); + // no fallback, let the application deal with unavailability of // nl_langinfo() itself as there is no good way for us to do it (well, we // could try to reverse engineer the format from strftime() output but this diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 7512383fca..ac4c035126 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -753,6 +753,8 @@ PRectangle Window::GetMonitorRect(Point pt) { int n = wxDisplay::GetFromPoint(wxPoint(pt.x, pt.y)); wxDisplay dpy(n == wxNOT_FOUND ? 0 : n); rect = dpy.GetGeometry(); +#else + wxUnusedVar(pt); #endif return PRectangleFromwxRect(rect); }