From 3e8f1e13094cafabc313dfa4a9a65b0604610696 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Sat, 30 Mar 2002 13:01:56 +0000
Subject: [PATCH] Fixed bug #536729: CVS doesn't compile with --debug (from
 Daniel).

---
 src/sound/music.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sound/music.cpp b/src/sound/music.cpp
index 29da59afc..9be1449b7 100644
--- a/src/sound/music.cpp
+++ b/src/sound/music.cpp
@@ -282,7 +282,9 @@ local int PlayCDRom(const char* name)
 global void PlayMusic(const char* name)
 {
     char buffer[1024];
+#if defined(USE_OGG) || defined(USE_FLAC) || defined(USE_MAD)
     Sample *sample;
+#endif
 
 #ifdef USE_SDLCD
     if (PlayCDRom(name)) {