Remove unused variable

This commit is contained in:
Paul 2020-08-11 14:05:28 -05:00
parent a509de4d70
commit 3523d2b329
1 changed files with 0 additions and 6 deletions

View File

@ -139,8 +139,6 @@ void CheckThread::run()
void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSettings, const QString &fileName)
{
QString dumpFile;
foreach (const QString addon, mAddonsAndTools) {
if (addon == CLANG_ANALYZER || addon == CLANG_TIDY) {
if (!fileSettings)
@ -298,10 +296,6 @@ void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSetti
parseClangErrors(addon, fileName, errout);
}
}
if (!dumpFile.isEmpty()) {
QFile::remove(dumpFile);
}
}
void CheckThread::stop()