aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2002-11-19 01:52:22 +0000
committerMax Horn2002-11-19 01:52:22 +0000
commit1a97719ae51eef51536f088cd334503a3c4e5d75 (patch)
tree27eea2d9f90cc980e8b141e73cca415fd0192512 /scumm/sound.cpp
parent49d6b10fc39708d45c2057ec9e1150f00b2e033f (diff)
downloadscummvm-rg350-1a97719ae51eef51536f088cd334503a3c4e5d75.tar.gz
scummvm-rg350-1a97719ae51eef51536f088cd334503a3c4e5d75.tar.bz2
scummvm-rg350-1a97719ae51eef51536f088cd334503a3c4e5d75.zip
fix warning when compiling w/o vorbis/mp3 support
svn-id: r5603
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index ebf18c2f67..dec8eb0aff 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1315,8 +1315,10 @@ void Sound::updateCD()
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