summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-17 22:19:46 +0100
committerMax Kellermann <max@musicpd.org>2016-11-17 22:20:24 +0100
commit35a2a48c47f1a5ff1ccf2b869ba26aa0c7aa14d9 (patch)
treea0aeb6b84801ebd096c6c643c8a94708431b78f4 /src/input
parent22dcca9832e30c27630041bee867639e05ffd072 (diff)
parent7019f6bea455f0d843131ec5b88cf057ebba5058 (diff)
Merge branch 'v0.19.x'
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/AlsaInputPlugin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/plugins/AlsaInputPlugin.cxx b/src/input/plugins/AlsaInputPlugin.cxx
index 0c2d1da9f..8e337b1b7 100644
--- a/src/input/plugins/AlsaInputPlugin.cxx
+++ b/src/input/plugins/AlsaInputPlugin.cxx
@@ -223,6 +223,10 @@ AlsaInputStream::Recover(int err)
case -EPIPE:
LogDebug(alsa_input_domain, "Buffer Overrun");
// drop through
+#if GCC_CHECK_VERSION(7,0)
+ [[fallthrough]];
+#endif
+
case -ESTRPIPE:
case -EINTR:
err = snd_pcm_recover(capture_handle, err, 1);