Remove unnecessary 0 checks before delete; see http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.8 Apologies for the big commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@4332 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2008-12-18 19:31:00 +00:00
parent be655cc5af
commit 4e1f451520
54 changed files with 168 additions and 384 deletions

View file

@ -232,9 +232,7 @@ GenericMidiControlProtocol::stop_learning (Controllable* c)
}
}
if (dptr) {
delete dptr;
}
delete dptr;
}
void