summaryrefslogtreecommitdiff
path: root/src/resources/resource.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-02 21:17:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-02 21:17:53 +0300
commitbfa44d6b007ca2e3ffabafda5beadbf102a6efdc (patch)
tree8f5d51f3ac6486f42aa531032209a0dddcc6e45d /src/resources/resource.h
parent181ecd0c3bf27b47487f973fb83b988fd6ceaecf (diff)
downloadmanaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.gz
manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.bz2
manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.tar.xz
manaverse-bfa44d6b007ca2e3ffabafda5beadbf102a6efdc.zip
Other fixes from Coverity checks.
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r--src/resources/resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h
index 8cd8dabd6..fd0a34fb0 100644
--- a/src/resources/resource.h
+++ b/src/resources/resource.h
@@ -42,8 +42,9 @@ class Resource
* Constructor
*/
Resource() :
-#ifdef DEBUG_DUMP_LEAKS
+ mTimeStamp(0),
mRefCount(0),
+#ifdef DEBUG_DUMP_LEAKS
mDumped(false)
#else
mRefCount(0)