summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 05:58:56 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:37:09 (GMT)
commitbbe854a45af977481772f50873e72ac9ba53805c (patch)
tree476f9ba4a19b7cc545be40110c0ddc828cfb6ed8 /Source/cmDocumentation.cxx
parentcf39773df94d474f9618f046be8fbc503dc7159d (diff)
downloadCMake-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.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx1
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;