From 3523d2b329bc94c64604317b34b8ebba64f0f19e Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 11 Aug 2020 14:05:28 -0500 Subject: [PATCH] Remove unused variable --- gui/checkthread.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index adea526db..afb184341 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -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()