[Scummvm-cvs-logs] SF.net SVN: scummvm:[46464] scummvm/trunk/engines/sci/sfx/soundcmd.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Dec 21 15:46:52 CET 2009


Revision: 46464
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46464&view=rev
Author:   thebluegr
Date:     2009-12-21 14:46:52 +0000 (Mon, 21 Dec 2009)

Log Message:
-----------
Silenced some warnings to make DrMcCoy happier :)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/soundcmd.cpp

Modified: scummvm/trunk/engines/sci/sfx/soundcmd.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-21 14:46:07 UTC (rev 46463)
+++ scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-21 14:46:52 UTC (rev 46464)
@@ -432,7 +432,6 @@
 
 void SoundCommandParser::cmdStopHandle(reg_t obj, int16 value) {
 #ifdef USE_OLD_MUSIC_FUNCTIONS
-	SongHandle handle = FROBNICATE_HANDLE(obj);
 	changeHandleStatus(obj, SOUND_STATUS_STOPPED);
 
 	if (_hasNodePtr)
@@ -458,7 +457,6 @@
 	if (!obj.segment)
 		return;
 #ifdef USE_OLD_MUSIC_FUNCTIONS
-	SongHandle handle = FROBNICATE_HANDLE(obj);
 	if (!_hasNodePtr)
 		changeHandleStatus(obj, SOUND_STATUS_SUSPENDED);
 	else
@@ -484,7 +482,6 @@
 		return;
 
 #ifdef USE_OLD_MUSIC_FUNCTIONS
-	SongHandle handle = FROBNICATE_HANDLE(obj);
 	changeHandleStatus(obj, SOUND_STATUS_PLAYING);
 #else
 	int slot = _music->findListSlot(obj);


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