diff --git a/src/plugins/clangformat/clangformatbaseindenter.cpp b/src/plugins/clangformat/clangformatbaseindenter.cpp index 536bf970a34..40b7a56e3cd 100644 --- a/src/plugins/clangformat/clangformatbaseindenter.cpp +++ b/src/plugins/clangformat/clangformatbaseindenter.cpp @@ -562,6 +562,7 @@ Utils::ChangeSet ClangFormatBaseIndenter::replacements(QByteArray buffer, Utils::EditOperations ClangFormatBaseIndenter::format(const TextEditor::RangesInLines &rangesInLines, FormattingMode mode) { + Q_UNUSED(mode) QTC_ASSERT(!m_fileName.isEmpty(), return {}); if (rangesInLines.empty()) return {};