Remove unnecessary checks for null before delete

Closes #343
This commit is contained in:
Scott Wheeler
2015-05-18 21:40:11 +02:00
parent bd3c4dc1b2
commit 089e44f3db
3 changed files with 5 additions and 16 deletions

View File

@ -51,8 +51,7 @@ ASF::Properties::Properties() : AudioProperties(AudioProperties::Average)
ASF::Properties::~Properties()
{
if(d)
delete d;
delete d;
}
int ASF::Properties::length() const

View File

@ -47,8 +47,7 @@ ASF::Tag::Tag()
ASF::Tag::~Tag()
{
if(d)
delete d;
delete d;
}
String ASF::Tag::title() const