Core/Misc: Fix GCC 8 warnings

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-01-31 21:19:25 +01:00
1 parent 8714c2be57
commit 183789053e
20 files changed
+55 -49

No files matched your search

+1 -1
View File
@@ -7251,7 +7251,7 @@ float Unit::GetUnitSpellCriticalChance(Unit* victim, SpellInfo const* spellProto
break;
}
}
/// Intentional fallback. Calculate critical strike chance for both Ranged and Melee spells
/* fallthrough - Calculate critical strike chance for both Ranged and Melee spells*/
case SPELL_DAMAGE_CLASS_RANGED:
{
if (victim)