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 # Conflicts: # src/server/game/Entities/Player/Player.cpp # src/server/game/Spells/SpellInfo.cpp # src/server/scripts/Battlefield/BattlefieldWG.cpp # src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp # src/server/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp # src/server/scripts/Northrend/IcecrownCitadel/boss_rotface.cpp # src/server/scripts/Northrend/Naxxramas/boss_thaddius.cpp # src/server/shared/DataStores/DBCDatabaseLoader.cpp
This commit is contained in:
1 parent
a06e5d7d40
commit
cbd6fb2315
17 files changed
+20
No files matched your search
@@ -11568,6 +11568,7 @@ uint32 Unit::GetCastingTimeForBonus(SpellInfo const* spellProto, DamageEffectTyp
|
||||
++effects;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user