diff options
author | howie-f <rftc@gmx.de> | 2022-03-30 09:53:30 +0000 |
---|---|---|
committer | howie-f <rftc@gmx.de> | 2022-03-30 10:26:50 +0000 |
commit | 499358eca2e655529f9de767e3c75a1d993805be (patch) | |
tree | f3b2e639ff79bd5df1875674f7ab1f2cf8fa11b1 | |
parent | 43a6fa2b4f1fef012826002b29a206aa6352dcf2 (diff) |
[cleanup] fix warning: this statement may fall through [-Wimplicit-fallthrough=]
-rw-r--r-- | xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp index 89b497a832..d246441c59 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp @@ -1046,10 +1046,12 @@ bool CAESinkALSA::OpenPCMDevice(const std::string &name, const std::string ¶ case 4: if (TryDeviceWithParams("surround40" + openName, params, pcmp, lconf)) return true; + [[fallthrough]]; case 5: case 6: if (TryDeviceWithParams("surround51" + openName, params, pcmp, lconf)) return true; + [[fallthrough]]; case 7: case 8: if (TryDeviceWithParams("surround71" + openName, params, pcmp, lconf)) |