Some default value doesn't harm.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31050 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-06-14 14:17:37 +00:00
parent 676040f030
commit 9579e97f08
1 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,13 @@ struct DynamicAttributeValue {
}; };
uint8 attributeClass; uint8 attributeClass;
DynamicAttributeValue()
:
attributeClass(ATTRIBUTE_CLASS_CONSTANT)
{
this->constant = 0;
}
void SetTo(uint64 constant) void SetTo(uint64 constant)
{ {
this->constant = constant; this->constant = constant;