From de554e2f9d9a389eb30e6ff1953e017a2817935f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 13 Nov 2002 13:42:05 +0000 Subject: [PATCH] properly init all datacd Projekte/scummvm svn-id: r5529 --- common/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/map.h b/common/map.h index 51e87210efd..ffa54e5994f 100644 --- a/common/map.h +++ b/common/map.h @@ -33,8 +33,8 @@ protected: Node *_left, *_right; Key _key; Value _value; - Node() {} - Node(const Key &key, Node *parent) : _parent(parent), _key(key) {} + Node() : _parent(0), _left(0), _right(0) {} + Node(const Key &key, Node *parent) : _parent(parent), _left(0), _right(0), _key(key) {} }; Node *_root;