Applied clang-tidy readability-delete-null-pointer fixes (#430)
delete nullptr is well-defined, does not need check. Manually fixed indentation after automatic changes.
This commit is contained in:
@@ -70,8 +70,7 @@ LinkAccPropList::getConstant()
|
||||
void
|
||||
LinkAccPropList::deleteConstants()
|
||||
{
|
||||
if (DEFAULT_ != 0)
|
||||
delete DEFAULT_;
|
||||
delete DEFAULT_;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user