summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 10:38:37 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 08:45:45 -0500
commitca505718f45bbb5353618f953028197efc16b874 (patch)
tree8e4e9a228fa971dae26320c70f6409ff1db20eef
parentb3b6ede6a1e04d43c95eb816e6b710b63adc84b3 (diff)
downloadcmake-ca505718f45bbb5353618f953028197efc16b874.tar.gz
clang-tidy: fix `readability-redundant-string-init` warnings
-rw-r--r--.clang-tidy1
-rw-r--r--Source/cmLocalNinjaGenerator.cxx1
-rw-r--r--Source/cmScriptGenerator.cxx1
3 files changed, 0 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 17d37f5cb3..8aeaee608e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -26,7 +26,6 @@ readability-*,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-redundant-declaration,\
--readability-redundant-string-init,\
-readability-simplify-boolean-expr,\
-readability-uppercase-literal-suffix,\
-readability-use-anyofallof,\
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 7229101a83..b8ad1a06d6 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -40,7 +40,6 @@
cmLocalNinjaGenerator::cmLocalNinjaGenerator(cmGlobalGenerator* gg,
cmMakefile* mf)
: cmLocalCommonGenerator(gg, mf, mf->GetState()->GetBinaryDirectory())
- , HomeRelativeOutputPath("")
{
}
diff --git a/Source/cmScriptGenerator.cxx b/Source/cmScriptGenerator.cxx
index adc06792dc..3f6b754cde 100644
--- a/Source/cmScriptGenerator.cxx
+++ b/Source/cmScriptGenerator.cxx
@@ -11,7 +11,6 @@ cmScriptGenerator::cmScriptGenerator(std::string config_var,
std::vector<std::string> configurations)
: RuntimeConfigVariable(std::move(config_var))
, Configurations(std::move(configurations))
- , ConfigurationName("")
, ConfigurationTypes(nullptr)
, ActionsPerConfig(false)
{