Core/Misc: Fix static analysis issues reported by Coverity

This commit is contained in:
jackpoz
2019-05-18 16:12:23 +02:00
parent a0d41c314f
commit a0bd68cf46
8 changed files with 10 additions and 3 deletions

View File

@@ -3729,7 +3729,7 @@ class spell_item_mirrens_drinking_hat : public SpellScript
void HandleScriptEffect(SpellEffIndex /* effIndex */)
{
uint32 spellId;
uint32 spellId = 0;
switch (urand(1, 6))
{
case 1: