diff options
| author | jackpoz <giacomopoz@gmail.com> | 2019-05-18 16:12:23 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-12-05 22:44:38 +0100 |
| commit | 7fc359559f4b9e7736298cf354ddf74c1774741a (patch) | |
| tree | e7fd4c18117eca7537b6979d8e97aed79490ec83 /src/server/scripts/Spells | |
| parent | c287485a7bde9c02514e3c2e0ed95eb564567ec4 (diff) | |
Core/Misc: Fix static analysis issues reported by Coverity
(cherry picked from commit a0bd68cf465517786d16bcb145ed3fc8bc5b5b98)
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 428dd4f7280..da9c104ad3f 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -3672,7 +3672,7 @@ class spell_item_mirrens_drinking_hat : public SpellScript void HandleScriptEffect(SpellEffIndex /*effIndex*/) { - uint32 spellId; + uint32 spellId = 0; switch (urand(1, 6)) { case 1: |
