Remove unused variable
This commit is contained in:
parent
a509de4d70
commit
3523d2b329
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue