aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/Chat.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-08-21 23:08:54 +0200
committerSpp <none@none>2010-08-21 23:08:54 +0200
commit572f7bbd1dc67a6df6503ec4f828a64842d02cdc (patch)
tree60cc6e5495dfa29d751059755bccf20aecc9ad44 /src/server/game/Chat/Chat.cpp
parenta136403deed39dc7d8523fc7117a070b238992f9 (diff)
Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rw-r--r--src/server/game/Chat/Chat.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp
index 9ee79281e5a..0fa2c91befb 100644
--- a/src/server/game/Chat/Chat.cpp
+++ b/src/server/game/Chat/Chat.cpp
@@ -1200,14 +1200,14 @@ valid examples:
std::istringstream reader(message);
char buffer[256];
- uint32 color;
-
- ItemPrototype const* linkedItem;
- Quest const* linkedQuest;
- SpellEntry const *linkedSpell;
- AchievementEntry const* linkedAchievement;
- ItemRandomPropertiesEntry const* itemProperty;
- ItemRandomSuffixEntry const* itemSuffix;
+ uint32 color = 0;
+
+ ItemPrototype const* linkedItem = NULL;
+ Quest const* linkedQuest = NULL;
+ SpellEntry const *linkedSpell = NULL;
+ AchievementEntry const* linkedAchievement = NULL;
+ ItemRandomPropertiesEntry const* itemProperty = NULL;
+ ItemRandomSuffixEntry const* itemSuffix = NULL;
while (!reader.eof())
{