Add fallthrough comments and remove -Wimplicit-fallthrough=0
Signed-off-by: Jonas Kvinge <jonas@jkvinge.net>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user