diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-23 05:58:56 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-17 12:37:09 (GMT) |
commit | bbe854a45af977481772f50873e72ac9ba53805c (patch) | |
tree | 476f9ba4a19b7cc545be40110c0ddc828cfb6ed8 | |
parent | cf39773df94d474f9618f046be8fbc503dc7159d (diff) | |
download | CMake-bbe854a45af977481772f50873e72ac9ba53805c.zip CMake-bbe854a45af977481772f50873e72ac9ba53805c.tar.gz CMake-bbe854a45af977481772f50873e72ac9ba53805c.tar.bz2 |
cmDocumentation: Drop useless call to formatter's `SetIndent()`
The `cmDocumentationFormatter::PrintSection()` method ignores
the currently set indentation level and use it's own.
-rw-r--r-- | Source/cmDocumentation.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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; |