From 9579e97f08f5fe5a2b3257a0490c85c849beee9f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 14 Jun 2009 14:17:37 +0000 Subject: [PATCH] Some default value doesn't harm. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31050 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/AttributeValue.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/apps/debugger/AttributeValue.h b/src/apps/debugger/AttributeValue.h index 94711e158b..3b92053a26 100644 --- a/src/apps/debugger/AttributeValue.h +++ b/src/apps/debugger/AttributeValue.h @@ -45,6 +45,13 @@ struct DynamicAttributeValue { }; uint8 attributeClass; + DynamicAttributeValue() + : + attributeClass(ATTRIBUTE_CLASS_CONSTANT) + { + this->constant = 0; + } + void SetTo(uint64 constant) { this->constant = constant;