mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-09 03:27:45 +08:00
Removing redundant non null check before deleting a ptr in destructors #301
This commit is contained in:
@@ -73,10 +73,7 @@ Registration::Registration(const ParametersMap & parameters, Registration * chil
|
||||
|
||||
Registration::~Registration()
|
||||
{
|
||||
if(child_)
|
||||
{
|
||||
delete child_;
|
||||
}
|
||||
delete child_;
|
||||
}
|
||||
void Registration::parseParameters(const ParametersMap & parameters)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user