From 1a97719ae51eef51536f088cd334503a3c4e5d75 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 Nov 2002 01:52:22 +0000 Subject: fix warning when compiling w/o vorbis/mp3 support svn-id: r5603 --- scumm/sound.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scumm') 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 -- cgit v1.2.3