mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Build: Enable -Wimplicit-fallthrough on clang (#25056)
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs Related: #25006 * Misc: Add some missing breaks (no-ops) to satisfy clang Related: #25006 Closes #25055 * Build: Enable -Wimplicit-fallthrough on clang Closes #25006
This commit is contained in:
committed by
Shauren
parent
ad340466d0
commit
44ea32ace4
@@ -1540,6 +1540,7 @@ void Spell::SendLoot(ObjectGuid guid, LootType loottype)
|
||||
gameObjTarget->TriggeringLinkedGameObject(trapEntry, player);
|
||||
|
||||
// Don't return, let loots been taken
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user