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:
parent
590aeea8f8
commit
feeb27f3c9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue