From a97c145f56233f2b4df633c13e5767d3a1b8617b Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Tue, 4 Oct 2016 09:08:43 +0200 Subject: [PATCH] Always return a value --- simgear/sound/soundmgr_openal.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index e1b8c626..75c79f9e 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -763,9 +763,8 @@ bool SGSoundMgr::is_sample_stopped(SGSoundSample *sample) alGetSourcei( source, AL_SOURCE_STATE, &result ); return (result == AL_STOPPED); } -#else - return true; #endif + return true; } void SGSoundMgr::update_sample_config( SGSoundSample *sample, SGVec3d& position, SGVec3f& orientation, SGVec3f& velocity )