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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Dec 24 19:43:18 CET 2009


Revision: 46535
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46535&view=rev
Author:   mthreepwood
Date:     2009-12-24 18:43:18 +0000 (Thu, 24 Dec 2009)

Log Message:
-----------
Silence some gcc warnings.

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

Modified: scummvm/trunk/engines/sci/sfx/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/music.cpp	2009-12-24 18:41:26 UTC (rev 46534)
+++ scummvm/trunk/engines/sci/sfx/music.cpp	2009-12-24 18:43:18 UTC (rev 46535)
@@ -574,6 +574,8 @@
 				case SCI_VERSION_1_LATE:
 					_pSnd->dataInc++;
 					break;
+				default:
+					break;
 				}
 			}
 			// BF 50 x - set reverb to x
@@ -754,7 +756,7 @@
 	byte curChannel, curByte;
 	byte command, lastCommand;
 	int delta = 0;
-	int dataLeft = channel->size;
+	//int dataLeft = channel->size;
 	int midiParamCount;
 
 	_mixedData = filterData;


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