gui: fixed 'variable is assigned a value that is never used' warnings
This commit is contained in:
parent
2f7032a0e6
commit
7852b7e8e0
|
@ -171,7 +171,6 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
|||
msgBox.exec();
|
||||
}
|
||||
delete report;
|
||||
report = NULL;
|
||||
} else {
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText(tr("Failed to save the report."));
|
||||
|
@ -289,7 +288,6 @@ void ResultsView::ReadErrorsXml(const QString &filename)
|
|||
msgBox.exec();
|
||||
}
|
||||
delete report;
|
||||
report = NULL;
|
||||
} else {
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText(tr("Failed to read the report."));
|
||||
|
|
Loading…
Reference in New Issue