summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-23 13:12:19 +0000
committerrubidium <rubidium@openttd.org>2013-11-23 13:12:19 +0000
commitb3e93d65208f74802595b12e682d98a4d534a328 (patch)
tree992b20c16adccf478fb80f75fd1c0805044e709e /src/core
parent2e54c8fdfa237f84e8d48b30bf4811ba7ed84327 (diff)
downloadopenttd-b3e93d65208f74802595b12e682d98a4d534a328.tar.xz
(svn r26057) -Fix: a number of possibly uninitialised variables
Diffstat (limited to 'src/core')
-rw-r--r--src/core/pool_func.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/pool_func.hpp b/src/core/pool_func.hpp
index eafd057ee..4648f50d1 100644
--- a/src/core/pool_func.hpp
+++ b/src/core/pool_func.hpp
@@ -35,6 +35,9 @@ DEFINE_POOL_METHOD(inline)::Pool(const char *name) :
first_free(0),
first_unused(0),
items(0),
+#ifdef OTTD_ASSERT
+ checked(0),
+#endif /* OTTD_ASSERT */
cleaning(false),
data(NULL),
alloc_cache(NULL)