[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.52,1.53
Max Horn
fingolfin at users.sourceforge.net
Mon Nov 18 17:53:02 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv30597/scumm
Modified Files:
sound.cpp
Log Message:
fix warning when compiling w/o vorbis/mp3 support
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- sound.cpp 17 Nov 2002 17:59:00 -0000 1.52
+++ sound.cpp 19 Nov 2002 01:52:22 -0000 1.53
@@ -1315,8 +1315,10 @@
int Sound::getCachedTrack(int track) {
int i;
+#if defined(USE_MAD) || defined(USE_VORBIS)
char track_name[1024];
- File * file = new File();
+ File *file = new File();
+#endif
int current_index;
// See if we find the track in the cache
More information about the Scummvm-git-logs
mailing list