gui: fixed 'variable is assigned a value that is never used' warnings

This commit is contained in:
Daniel Marjamäki 2012-09-15 16:13:22 +02:00
parent 2f7032a0e6
commit 7852b7e8e0
1 changed files with 0 additions and 2 deletions

View File

@ -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."));