diff options
author | Max Horn | 2002-11-19 01:52:22 +0000 |
---|---|---|
committer | Max Horn | 2002-11-19 01:52:22 +0000 |
commit | 1a97719ae51eef51536f088cd334503a3c4e5d75 (patch) | |
tree | 27eea2d9f90cc980e8b141e73cca415fd0192512 /scumm | |
parent | 49d6b10fc39708d45c2057ec9e1150f00b2e033f (diff) | |
download | scummvm-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')
-rw-r--r-- | scumm/sound.cpp | 4 |
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 |