From bbe854a45af977481772f50873e72ac9ba53805c Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Tue, 23 Aug 2022 09:58:56 +0400 Subject: cmDocumentation: Drop useless call to formatter's `SetIndent()` The `cmDocumentationFormatter::PrintSection()` method ignores the currently set indentation level and use it's own. --- Source/cmDocumentation.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index e8558fd..9f9393d 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -605,7 +605,6 @@ bool cmDocumentation::PrintHelpListGenerators(std::ostream& os) { const auto si = this->AllSections.find("Generators"); if (si != this->AllSections.end()) { - this->Formatter.SetIndent(2u); this->Formatter.PrintSection(os, si->second); } return true; -- cgit v0.12