diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:38:37 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:45 (GMT) |
commit | ca505718f45bbb5353618f953028197efc16b874 (patch) | |
tree | 8e4e9a228fa971dae26320c70f6409ff1db20eef | |
parent | b3b6ede6a1e04d43c95eb816e6b710b63adc84b3 (diff) | |
download | CMake-ca505718f45bbb5353618f953028197efc16b874.zip CMake-ca505718f45bbb5353618f953028197efc16b874.tar.gz CMake-ca505718f45bbb5353618f953028197efc16b874.tar.bz2 |
clang-tidy: fix `readability-redundant-string-init` warnings
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 1 | ||||
-rw-r--r-- | Source/cmScriptGenerator.cxx | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 17d37f5..8aeaee6 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 7229101..b8ad1a0 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 adc0679..3f6b754 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) { |