forked from qt-creator/qt-creator
CppTools: Remove pointless loop
Change-Id: Ie6c597421f81529973351a6363c0110435e42c29 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -101,9 +101,7 @@ static void addBuiltinConfigs(ClangDiagnosticConfigsModel &model)
|
||||
ClangDiagnosticConfigsModel::ClangDiagnosticConfigsModel(const ClangDiagnosticConfigs &customConfigs)
|
||||
{
|
||||
addBuiltinConfigs(*this);
|
||||
|
||||
foreach (const ClangDiagnosticConfig &config, customConfigs)
|
||||
m_diagnosticConfigs.append(config);
|
||||
m_diagnosticConfigs.append(customConfigs);
|
||||
}
|
||||
|
||||
int ClangDiagnosticConfigsModel::size() const
|
||||
|
Reference in New Issue
Block a user