diff options
author | Max Kellermann <max@musicpd.org> | 2018-05-03 20:15:11 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-05-03 20:15:11 +0200 |
commit | a8568d7246749407978154c47b43655cae2d2c2d (patch) | |
tree | 9acaa321f013e93004c0fd22d6d18ff223e6a160 /src/output | |
parent | 43a43c1e2b644725cbb2a5ab2d5d039811a9f154 (diff) | |
parent | 6522d2f72271367cc90a3b4f81c88a925d54981f (diff) |
Merge branch 'v0.20.x'
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/AlsaOutputPlugin.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx index dfd843da9..fa440f097 100644 --- a/src/output/plugins/AlsaOutputPlugin.cxx +++ b/src/output/plugins/AlsaOutputPlugin.cxx @@ -706,6 +706,12 @@ AlsaOutput::Recover(int err) noexcept case SND_PCM_STATE_DRAINING: err = 0; break; + + default: + /* this default case is just here to work around + -Wswitch due to SND_PCM_STATE_PRIVATE1 (libasound + 1.1.6) */ + break; } return err; |