diff options
author | jackpoz <giacomopoz@gmail.com> | 2013-12-01 16:19:30 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2013-12-01 16:19:30 +0100 |
commit | 04cc51a6cf11996b3443fbbac261072b10eb0cd4 (patch) | |
tree | e99da3bc89abea51216ac298e754d7e4b7dda78b /src/server/game/Globals/ObjectMgr.cpp | |
parent | 3db9d5ed727f6431f3e020e665078a7dc9173651 (diff) |
Core/Misc: Fix some static analysis issues
Fix some static analysis issues, mostly false positive about fields not initialized in the constructor. It's good practice anyway to always initialize them.
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 8ebcc17df16..3672d4555fb 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -234,7 +234,8 @@ ObjectMgr::ObjectMgr(): _hiGoGuid(1), _hiDoGuid(1), _hiCorpseGuid(1), - _hiMoTransGuid(1) + _hiMoTransGuid(1), + DBCLocaleIndex(LOCALE_enUS) { for (uint8 i = 0; i < MAX_CLASSES; ++i) { |