gui/checkthread.cpp: Fix warning "empty expression has no effect"

The trailing semicolons are redundant. "switch(){}" does not need one
and "Q_UNUSED()" already includes one.
This commit is contained in:
versat 2019-11-20 08:37:46 +01:00
parent 590aeea8f8
commit feeb27f3c9
1 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSetti
case Standards::CPP20:
args << "-std=c++20";
break;
};
}
}
QString analyzerInfoFile;
@ -334,7 +334,7 @@ void CheckThread::stop()
void CheckThread::parseAddonErrors(QString err, const QString &tool)
{
Q_UNUSED(tool);
Q_UNUSED(tool)
QTextStream in(&err, QIODevice::ReadOnly);
while (!in.atEnd()) {
QString line = in.readLine();