Add fallthrough comments and remove -Wimplicit-fallthrough=0

Signed-off-by: Jonas Kvinge <jonas@jkvinge.net>
This commit is contained in:
Jonas Kvinge
2019-09-16 21:20:12 +02:00
parent cf9f48d8da
commit bdc089290d
11 changed files with 22 additions and 11 deletions

View File

@@ -552,6 +552,7 @@ void Player::EngineStateChanged(Engine::State state) {
break;
case Engine::Error:
emit Error();
// fallthrough
case Engine::Empty:
case Engine::Idle:
emit Stopped();