]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed VC++ warning in release build
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 1 Jul 2003 00:33:20 +0000 (00:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 1 Jul 2003 00:33:20 +0000 (00:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utils.cpp

index aff561ff85f54d66a661a374628dda2b2259dcac..fa53d48b90acc181616b0eafdf507079356bc62a 100644 (file)
@@ -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