From 17283ba16badfdb4b8a4e213ada4bdd27c52e2b8 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 20 Aug 2018 15:40:39 +0900 Subject: [PATCH] Fix warning about case-fall-through The comment that fixes the warning is placed in a situation where it is expected to fall through in the switch statement. --- src/MfPA/GetSinkSourceInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MfPA/GetSinkSourceInfo.cpp b/src/MfPA/GetSinkSourceInfo.cpp index 20f15b8..a8f6383 100644 --- a/src/MfPA/GetSinkSourceInfo.cpp +++ b/src/MfPA/GetSinkSourceInfo.cpp @@ -69,6 +69,7 @@ void MfPA::GetSinkSourceInfo::get_state_callback(pa_context* c, void* userdata) case PA_CONTEXT_FAILED: std::cerr << "ERROR during context state callback: " << pa_strerror(pa_context_errno(c)) << std::endl; + // fall through case PA_CONTEXT_TERMINATED: getInfo->run = false; break; -- 2.49.0