mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Misc: Fix static analysis issues reported by Coverity
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user