aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangformat
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-09-20 10:58:18 +0200
committerhjk <hjk@qt.io>2022-09-20 11:06:49 +0000
commitbcb4db927b1018a05c33fd0c0da0ea74b64fb878 (patch)
tree9d8b804bf5e6505007ed87ddfa4540696217cf6d /src/plugins/clangformat
parentb795bd8042871cbfd741a365396184d51d6df64e (diff)
ClangFormat: Avoid warning about unused parameter
Style follows precedent in the file. Change-Id: Id7e5ca3f4e9536cb803e8e0ff36db59fda3c41d5 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/clangformat')
-rw-r--r--src/plugins/clangformat/clangformatbaseindenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangformat/clangformatbaseindenter.cpp b/src/plugins/clangformat/clangformatbaseindenter.cpp
index 060809a36c..cda7b54d5e 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,