From ea28b8853b8748ba94b71dd67c9d216db9ef0742 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 1 Jul 2003 00:33:20 +0000 Subject: [PATCH] fixed VC++ warning in release build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utils.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.50.0