From a66b968f91d159b149ef5b7357d8a92572cb0b3c Mon Sep 17 00:00:00 2001 From: Giacomo Pozzoni Date: Sun, 24 Jan 2021 16:04:47 +0100 Subject: Core/Misc: Fix static analysis issues (#25924) * Core/Misc: Fix static analysis issues * Fix infinite loop in ".debug send opcode" Fix using uninitialized memory in ".debug send opcode" (cherry picked from commit 661f554b9e08a3721227f1e4a4fe6fd74e43a1f4) --- src/server/scripts/Northrend/Gundrak/gundrak.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Northrend') diff --git a/src/server/scripts/Northrend/Gundrak/gundrak.h b/src/server/scripts/Northrend/Gundrak/gundrak.h index 18ee2088b90..4e1e51c3ccd 100644 --- a/src/server/scripts/Northrend/Gundrak/gundrak.h +++ b/src/server/scripts/Northrend/Gundrak/gundrak.h @@ -88,7 +88,7 @@ enum GDSpellIds SPELL_FIRE_BEAM_ELEMENTAL = 57072 }; -constexpr Milliseconds TIMER_STATUE_ACTIVATION = 3500ms; +inline constexpr Milliseconds TIMER_STATUE_ACTIVATION = 3500ms; template inline AI* GetGundrakAI(T* obj) -- cgit v1.2.3