diff --git a/src/plugins/clangformat/clangformatbaseindenter.cpp b/src/plugins/clangformat/clangformatbaseindenter.cpp index 060809a36c8..cda7b54d5ef 100644 --- a/src/plugins/clangformat/clangformatbaseindenter.cpp +++ b/src/plugins/clangformat/clangformatbaseindenter.cpp @@ -657,7 +657,7 @@ void ClangFormatBaseIndenter::indentBlock(const QTextBlock &block, } int ClangFormatBaseIndenter::indentFor(const QTextBlock &block, - const TextEditor::TabSettings &tabSettings, + const TextEditor::TabSettings & /*tabSettings*/, int cursorPositionInEditor) { Utils::Text::Replacements toReplace = indentsFor(block,