From: Vadim Zeitlin Date: Tue, 1 Jul 2003 00:33:20 +0000 (+0000) Subject: fixed VC++ warning in release build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ea28b8853b8748ba94b71dd67c9d216db9ef0742 fixed VC++ warning in release build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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