player/Thread, ...: assume [[fallthrough]] is supported

This commit is contained in:
Max Kellermann
2023-03-06 16:29:53 +01:00
parent 47b3577d6b
commit abdbaf605e
3 changed files with 2 additions and 7 deletions
-3
View File
@@ -30,7 +30,6 @@
#include "CrossFade.hxx"
#include "pcm/MixRampGlue.hxx"
#include "tag/Tag.hxx"
#include "util/Compiler.h"
#include "util/Domain.hxx"
#include "thread/Name.hxx"
#include "Log.hxx"
@@ -1279,9 +1278,7 @@ try {
}
/* fall through */
#if CLANG_OR_GCC_VERSION(7,0)
[[fallthrough]];
#endif
case PlayerCommand::PAUSE:
next_song.reset();