[Haiku-commits] r31050 - haiku/trunk/src/apps/debugger

bonefish at mail.berlios.de bonefish at mail.berlios.de
Sun Jun 14 16:17:40 CEST 2009


Author: bonefish
Date: 2009-06-14 16:17:37 +0200 (Sun, 14 Jun 2009)
New Revision: 31050
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31050&view=rev

Modified:
   haiku/trunk/src/apps/debugger/AttributeValue.h
Log:
Some default value doesn't harm.


Modified: haiku/trunk/src/apps/debugger/AttributeValue.h
===================================================================
--- haiku/trunk/src/apps/debugger/AttributeValue.h	2009-06-14 14:02:50 UTC (rev 31049)
+++ haiku/trunk/src/apps/debugger/AttributeValue.h	2009-06-14 14:17:37 UTC (rev 31050)
@@ -45,6 +45,13 @@
 	};
 	uint8				attributeClass;
 
+	DynamicAttributeValue()
+		:
+		attributeClass(ATTRIBUTE_CLASS_CONSTANT)
+	{
+		this->constant = 0;
+	}
+
 	void SetTo(uint64 constant)
 	{
 		this->constant = constant;




More information about the Haiku-commits mailing list