Browse Source

cmDocumentation: Drop useless call to formatter's `SetIndent()`

The `cmDocumentationFormatter::PrintSection()` method ignores
the currently set indentation level and use it's own.
Alex Turbov 3 years ago
parent
commit
bbe854a45a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmDocumentation.cxx

+ 0 - 1
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;