From: <man...@us...> - 2015-03-10 21:33:09
|
Revision: 4856 http://sourceforge.net/p/modplug/code/4856 Author: manxorist Date: 2015-03-10 21:33:04 +0000 (Tue, 10 Mar 2015) Log Message: ----------- [Ref] Remove dead code. Modified Paths: -------------- trunk/OpenMPT/mptrack/Vstplug.h trunk/OpenMPT/soundlib/plugins/PluginManager.cpp Modified: trunk/OpenMPT/mptrack/Vstplug.h =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.h 2015-03-10 19:20:54 UTC (rev 4855) +++ trunk/OpenMPT/mptrack/Vstplug.h 2015-03-10 21:33:04 UTC (rev 4856) @@ -374,7 +374,6 @@ bool RemovePlugin(VSTPluginLib *); bool CreateMixPlugin(SNDMIXPLUGIN &, CSoundFile &); void OnIdle(); - static void ReportPlugException(LPCSTR format,...); static void ReportPlugException(const std::wstring &msg); static void ReportPlugException(const std::string &msg); Modified: trunk/OpenMPT/soundlib/plugins/PluginManager.cpp =================================================================== --- trunk/OpenMPT/soundlib/plugins/PluginManager.cpp 2015-03-10 19:20:54 UTC (rev 4855) +++ trunk/OpenMPT/soundlib/plugins/PluginManager.cpp 2015-03-10 21:33:04 UTC (rev 4856) @@ -630,20 +630,6 @@ } -void CVstPluginManager::ReportPlugException(LPCSTR format,...) -//------------------------------------------------------------ -{ - CHAR cBuf[1024]; - va_list va; - va_start(va, format); - wvsprintf(cBuf, format, va); - Reporting::Notification(cBuf); -#ifdef VST_LOG - Log(cBuf); -#endif - va_end(va); -} - void CVstPluginManager::ReportPlugException(const std::string &msg) { Reporting::Notification(msg.c_str()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |