[Scummvm-cvs-logs] SF.net SVN: scummvm:[46183] scummvm/trunk/engines/sci/sfx
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Nov 29 01:23:19 CET 2009
Revision: 46183
http://scummvm.svn.sourceforge.net/scummvm/?rev=46183&view=rev
Author: thebluegr
Date: 2009-11-29 00:23:14 +0000 (Sun, 29 Nov 2009)
Log Message:
-----------
Removed unused code
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/songlib.cpp
scummvm/trunk/engines/sci/sfx/songlib.h
Modified: scummvm/trunk/engines/sci/sfx/songlib.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/songlib.cpp 2009-11-29 00:17:40 UTC (rev 46182)
+++ scummvm/trunk/engines/sci/sfx/songlib.cpp 2009-11-29 00:23:14 UTC (rev 46183)
@@ -163,22 +163,6 @@
return retval;
}
-void SongLibrary::resortSong(Song *song) {
- if (_lib == song)
- _lib = song->_next;
- else {
- Song *seeker = _lib;
-
- while (seeker->_next && (seeker->_next != song))
- seeker = seeker->_next;
-
- if (seeker->_next)
- seeker->_next = seeker->_next->_next;
- }
-
- addSong(song);
-}
-
int SongLibrary::countSongs() {
Song *seeker = _lib;
int retval = 0;
Modified: scummvm/trunk/engines/sci/sfx/songlib.h
===================================================================
--- scummvm/trunk/engines/sci/sfx/songlib.h 2009-11-29 00:17:40 UTC (rev 46182)
+++ scummvm/trunk/engines/sci/sfx/songlib.h 2009-11-29 00:23:14 UTC (rev 46183)
@@ -146,12 +146,6 @@
int removeSong(SongHandle handle);
/**
- * Removes a song from the library and sorts it in again; for use after renicing.
- * @param son song to work on
- */
- void resortSong(Song *song);
-
- /**
* Counts the number of songs in a song library.
* @return the number of songs
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list