]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mimetype.cpp
restored variabes initialization in OnButtonSet() to avoid spurious MSVC warnings
[wxWidgets.git] / src / unix / mimetype.cpp
index deb9fb624a9ee27d6d81ab8a03f10e49d9a45edb..ff6fda3893500ec1ab957b4b2c61c6826e8c73d1 100644 (file)
@@ -149,10 +149,10 @@ protected:
     // single conversion in Unicode build, so we just try to read what we can
     // suing the most common encoding (UTF-8 is almost ubiquitous nowadays) and
     // ignore the rest
-    virtual bool OnRead(const wxMBConv& conv)
+    virtual bool OnRead(const wxMBConv& WXUNUSED(conv))
     {
         return wxTextFile::OnRead(
-                    wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_OCTAL));
+                    wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_PUA));
     }
 };