Removing redundant non null check before deleting a ptr in destructors #301

This commit is contained in:
matlabbe
2018-08-09 15:53:47 -04:00
parent 5e60a2596c
commit 714d95cc34
20 changed files with 38 additions and 155 deletions

View File

@@ -252,10 +252,7 @@ ExportCloudsDialog::ExportCloudsDialog(QWidget *parent) :
ExportCloudsDialog::~ExportCloudsDialog()
{
delete _ui;
if(_compensator)
{
delete _compensator;
}
delete _compensator;
}
void ExportCloudsDialog::updateMLSGrpVisibility()