From dd6da7345a2993129436cd5527e098d4e11acad8 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 --- libtdemid/deviceman.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libtdemid/deviceman.cc') diff --git a/libtdemid/deviceman.cc b/libtdemid/deviceman.cc index fec0ff090..82f973d3f 100644 --- a/libtdemid/deviceman.cc +++ b/libtdemid/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