avoid an unnecessary and unused (resulting in release build warning) variable in GetMimeTypeFromExt()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-20 09:57:34 +00:00
parent 3232da9d90
commit 107b52ed17

View File

@@ -81,12 +81,9 @@ wxString wxFileSystemHandler::GetMimeTypeFromExt(const wxString& location)
// Don't use mime types manager if the application doesn't need it and it would be
// cause an unacceptable delay, especially on startup.
bool useMimeTypesManager = true;
#if wxUSE_SYSTEM_OPTIONS
useMimeTypesManager = (wxSystemOptions::GetOptionInt(wxT("filesys.no-mimetypesmanager")) == 0);
if ( !wxSystemOptions::GetOptionInt(wxT("filesys.no-mimetypesmanager")) )
#endif
if (useMimeTypesManager)
{
if (!s_MinimalMimeEnsured)
{