X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3d49be8053a781a1aa3a720ac7803d99c1de84a..824fd93d761e1e697be19a4ca582c5259e12c8ea:/src/common/fontmap.cpp?ds=sidebyside diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index 827577693b..7d4b57ff19 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -262,6 +262,8 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry, { GetConfig()->Write(configEntry, info->ToString()); } +#else + wxUnusedVar(configEntry); #endif // wxUSE_CONFIG return true; } @@ -468,6 +470,8 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding, } } //else: we're in non-interactive mode +#else + wxUnusedVar(equivEncoding); #endif // wxUSE_FONTDLG return foundEquivEncoding;