From 3e27acb9d47e292813e64098f338a3c68069ef26 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 15 Jul 2001 05:40:12 +0000 Subject: [PATCH] - audio_oss_esd.cpp (open_esd): even return false if !ENABLE_ESD and shut up the compiler by the way --- BasiliskII/src/Unix/audio_oss_esd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BasiliskII/src/Unix/audio_oss_esd.cpp b/BasiliskII/src/Unix/audio_oss_esd.cpp index fe8d962a..0ff00083 100644 --- a/BasiliskII/src/Unix/audio_oss_esd.cpp +++ b/BasiliskII/src/Unix/audio_oss_esd.cpp @@ -231,6 +231,9 @@ static bool open_esd(void) // Sound buffer size = 4096 frames audio_frames_per_block = 4096; return true; +#else + // ESD is not enabled, shut up the compiler + return false; #endif }