fix implicit-fallthrough warnings under clang

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-15 22:32:00 -07:00
parent b5d1a09010
commit 7f10e7a610
3 changed files with 5 additions and 3 deletions

View File

@@ -1176,7 +1176,9 @@ try {
}
/* fall through */
gcc_fallthrough;
#if CLANG_OR_GCC_VERSION(7,0)
[[fallthrough]];
#endif
case PlayerCommand::PAUSE:
next_song.reset();