From: <man...@us...> - 2013-04-09 17:45:15
|
Revision: 1796 http://sourceforge.net/p/modplug/code/1796 Author: manxorist Date: 2013-04-09 17:45:07 +0000 (Tue, 09 Apr 2013) Log Message: ----------- [Ref] CModDoc::InitPlayer() is completely unused. Remove it. Modified Paths: -------------- trunk/OpenMPT/mptrack/Moddoc.cpp trunk/OpenMPT/mptrack/Moddoc.h Modified: trunk/OpenMPT/mptrack/Moddoc.cpp =================================================================== --- trunk/OpenMPT/mptrack/Moddoc.cpp 2013-04-09 17:37:46 UTC (rev 1795) +++ trunk/OpenMPT/mptrack/Moddoc.cpp 2013-04-09 17:45:07 UTC (rev 1796) @@ -671,13 +671,6 @@ } -void CModDoc::InitPlayer() -//------------------------ -{ - m_SndFile.ResetChannels(); -} - - BOOL CModDoc::InitializeMod() //--------------------------- { Modified: trunk/OpenMPT/mptrack/Moddoc.h =================================================================== --- trunk/OpenMPT/mptrack/Moddoc.h 2013-04-09 17:37:46 UTC (rev 1795) +++ trunk/OpenMPT/mptrack/Moddoc.h 2013-04-09 17:45:07 UTC (rev 1796) @@ -186,7 +186,6 @@ CSoundFile &GetrSoundFile() { return m_SndFile; } const CSoundFile &GetrSoundFile() const { return m_SndFile; } - void InitPlayer(); void SetModified(BOOL bModified=TRUE) { SetModifiedFlag(bModified); bModifiedAutosave = (bModified != FALSE); } bool ModifiedSinceLastAutosave() { bool bRetval = bModifiedAutosave; bModifiedAutosave = false; return bRetval; } // return "IsModified" value and reset it until the next SetModified() (as this is only used for polling) void SetShowSaveDialog(bool b) {m_ShowSavedialog = b;} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |