diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index aff561ff85..fa53d48b90 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -1105,12 +1105,11 @@ extern long wxEncodingToCharset(wxFontEncoding encoding) case wxFONTENCODING_CP437: return OEM_CHARSET; - default: // fix GCC warning + + default: + // no way to translate this encoding into a Windows charset return -1; } - - // no way to translate this encoding into a Windows charset - return -1; } // we have 2 versions of wxCharsetToCodepage(): the old one which directly