From bcb4db927b1018a05c33fd0c0da0ea74b64fb878 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 20 Sep 2022 10:58:18 +0200 Subject: [PATCH] ClangFormat: Avoid warning about unused parameter Style follows precedent in the file. Change-Id: Id7e5ca3f4e9536cb803e8e0ff36db59fda3c41d5 Reviewed-by: David Schulz --- src/plugins/clangformat/clangformatbaseindenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,