Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -388,7 +388,6 @@ bool wxFileType::Unassociate()
|
||||
#elif defined(__UNIX__)
|
||||
return m_impl->Unassociate(this);
|
||||
#else
|
||||
|
||||
wxFAIL_MSG( _T("not implemented") ); // TODO
|
||||
return FALSE;
|
||||
#endif
|
||||
@@ -401,7 +400,6 @@ bool overwriteprompt)
|
||||
return m_impl->SetCommand(cmd, verb, overwriteprompt);
|
||||
#else
|
||||
wxFAIL_MSG(_T("not implemented"));
|
||||
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
@@ -587,6 +585,9 @@ void wxMimeTypesManager::Initialize(int mcapStyle,
|
||||
EnsureImpl();
|
||||
|
||||
m_impl->Initialize(mcapStyle, sExtraDir);
|
||||
#else
|
||||
(void)mcapStyle;
|
||||
(void)sExtraDir;
|
||||
#endif // Unix
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user