Cppcheck warning.
--HG-- branch : develop
This commit is contained in:
parent
5153e997d1
commit
a2cfecd2f1
|
@ -126,8 +126,6 @@ void VPE::VPropertySet::removeProperty(VProperty* prop, bool delete_property)
|
|||
removePropertyFromSet(prop);
|
||||
|
||||
// Remove from parent and optionally delete
|
||||
if (prop)
|
||||
{
|
||||
prop->setParent(NULL);
|
||||
|
||||
if (delete_property)
|
||||
|
@ -135,7 +133,6 @@ void VPE::VPropertySet::removeProperty(VProperty* prop, bool delete_property)
|
|||
delete prop;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int VPE::VPropertySet::count() const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user