diff --git a/tinyxml2.h b/tinyxml2.h index 7586f7b8..a3b3e6dd 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -314,7 +314,7 @@ class DynArray } T* _mem; - T _pool[static_cast(INITIAL_SIZE)]; + T _pool[static_cast(INITIAL_SIZE)] = {}; int _allocated; // objects allocated int _size; // number objects in use };