[Scummvm-cvs-logs] SF.net SVN: scummvm: [28847] scummvm/trunk/engines/agi/sound.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Sep 3 14:23:51 CEST 2007


Revision: 28847
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28847&view=rev
Author:   fingolfin
Date:     2007-09-03 05:23:50 -0700 (Mon, 03 Sep 2007)

Log Message:
-----------
Fix warning about unused static function

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound.cpp

Modified: scummvm/trunk/engines/agi/sound.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound.cpp	2007-09-03 12:23:19 UTC (rev 28846)
+++ scummvm/trunk/engines/agi/sound.cpp	2007-09-03 12:23:50 UTC (rev 28847)
@@ -309,9 +309,11 @@
 	1448, 1534, 1625, 1722, 1825, 1933
 };
 
+#if 0
 static int noteToPeriod(int note) {
 	return 10 * (period[note % 12] >> (note / 12 - 3));
 }
+#endif
 
 void SoundMgr::unloadSound(int resnum) {
 	if (_vm->_game.dirSound[resnum].flags & RES_LOADED) {


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