Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
This commit is contained in:
1 parent
cbb0fe41de
commit
a06e5d7d40
14 files changed
+21
-21
No files matched your search
@@ -293,7 +293,7 @@ void WorldSession::HandlePetActionHelper(Unit* pet, ObjectGuid guid1, uint32 spe
|
||||
case REACT_PASSIVE: //passive
|
||||
pet->AttackStop();
|
||||
pet->ClearInPetCombat();
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
case REACT_DEFENSIVE: //recovery
|
||||
case REACT_AGGRESSIVE: //activete
|
||||
case REACT_ASSIST:
|
||||
|
||||
Reference in new issue
Block a user