Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs

This commit is contained in:
Peter Keresztes Schmidt authored and Ovahlord committed 2020-07-18 22:43:24 +02:00
1 parent cbb0fe41de
commit a06e5d7d40
14 files changed
+21 -21

No files matched your search

@@ -440,7 +440,7 @@ void GameObject::Update(uint32 diff)
break;
}
}
/* fallthrough */
[[fallthrough]];
case GO_READY:
{
if (m_respawnCompatibilityMode)