HaikuDepot: Small code cleanups in PackageInfo.

This commit is contained in:
Stephan Aßmus
2014-09-18 22:39:38 +02:00
parent ef860b2e96
commit 4f4f859c1a
+2 -1
View File
@@ -538,6 +538,7 @@ PackageCategory::PackageCategory()
: :
BReferenceable(), BReferenceable(),
fIcon(), fIcon(),
fLabel(),
fName() fName()
{ {
} }
@@ -568,8 +569,8 @@ PackageCategory&
PackageCategory::operator=(const PackageCategory& other) PackageCategory::operator=(const PackageCategory& other)
{ {
fIcon = other.fIcon; fIcon = other.fIcon;
fName = other.fName;
fLabel = other.fLabel; fLabel = other.fLabel;
fName = other.fName;
return *this; return *this;
} }