]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress compilation warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 00:46:43 +0000 (00:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 00:46:43 +0000 (00:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fontmap.cpp

index c93277a60de756377a8a999c129a35e9add9ef89..f40ea75e954a4d131fd43f072e43d0e8f2072304 100644 (file)
@@ -810,7 +810,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
     wxFontEncodingArray equiv = wxEncodingConverter::GetAllEquivalents(encoding);
     size_t count = equiv.GetCount();
     bool foundEquivEncoding = FALSE;
-    wxFontEncoding equivEncoding;
+    wxFontEncoding equivEncoding = wxFONTENCODING_SYSTEM;
     if ( count )
     {
         for ( size_t i = 0; i < count && !foundEquivEncoding; i++ )