From 95fe52aeaacdb8c7a529b6586520dd287bbeff09 Mon Sep 17 00:00:00 2001 From: wangqr Date: Sun, 31 May 2020 00:41:29 -0400 Subject: [PATCH] Remove mysterious brackets --- src/audio_player_xaudio2.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/audio_player_xaudio2.cpp b/src/audio_player_xaudio2.cpp index 5d94bd951..fbc2f735f 100644 --- a/src/audio_player_xaudio2.cpp +++ b/src/audio_player_xaudio2.cpp @@ -387,7 +387,6 @@ void XAudio2Thread::Run() { case WAIT_OBJECT_0 + 4: // Buffer end do_fill_buffer: - { // Time to fill more into buffer if (!playback_should_be_running) break; @@ -427,7 +426,6 @@ void XAudio2Thread::Run() { ResetEvent(is_playing); playback_should_be_running = false; break; - } default: REPORT_ERROR("Something bad happened while waiting on events in playback loop, either the wait failed or an event object was abandoned.")