From 0f8dabf7f55c467ecf7384093328ce1ca3e46ed6 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 27 Jan 2019 14:42:28 +0900 Subject: Fix if-else syntax for the case missing OSS support (cherry picked from commit dd6da7345a2993129436cd5527e098d4e11acad8) --- libkmid/deviceman.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libkmid/deviceman.cc') diff --git a/libkmid/deviceman.cc b/libkmid/deviceman.cc index c8030f44e..6a11fb125 100644 --- a/libkmid/deviceman.cc +++ b/libkmid/deviceman.cc @@ -705,9 +705,7 @@ void DeviceManager::seqbuf_dump (void) void DeviceManager::seqbuf_clean(void) { #ifdef HAVE_ALSA_SUPPORT - if (alsa) - ((AlsaOut *)device[default_dev])->seqbuf_clean(); - else + if (alsa) { ((AlsaOut *)device[default_dev])->seqbuf_clean(); return ; } #endif #ifdef HAVE_OSS_SUPPORT _seqbufptr=0; -- cgit v1.2.1