summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:30:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit5349883d896bfd13d7f90bb7a3a4c615246a672a (patch)
treed2a38f8b7e9a9ec617db64310d0f2a50093418c6 /src/resources/db/itemdb.cpp
parent255facfa0c5c272e6f9416eb74c184ff615e2c07 (diff)
downloadmv-5349883d896bfd13d7f90bb7a3a4c615246a672a.tar.gz
mv-5349883d896bfd13d7f90bb7a3a4c615246a672a.tar.bz2
mv-5349883d896bfd13d7f90bb7a3a4c615246a672a.tar.xz
mv-5349883d896bfd13d7f90bb7a3a4c615246a672a.zip
add missing initialisation in itemdb.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 067ccc25c..cc8c0338b 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -37,7 +37,7 @@ namespace
{
ItemDB::ItemInfos mItemInfos;
ItemDB::NamedItemInfos mNamedItemInfos;
- ItemInfo *mUnknown;
+ ItemInfo *mUnknown = nullptr;
bool mLoaded = false;
bool mConstructed = false;
StringVect mTagNames;