From ca505718f45bbb5353618f953028197efc16b874 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 22 Jan 2021 10:38:37 -0500 Subject: [PATCH] clang-tidy: fix `readability-redundant-string-init` warnings --- .clang-tidy | 1 - Source/cmLocalNinjaGenerator.cxx | 1 - Source/cmScriptGenerator.cxx | 1 - 3 files changed, 3 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 17d37f5cb3d..8aeaee608e2 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 7229101a833..b8ad1a06d6b 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 adc06792dc7..3f6b754cde4 100644 --- a/Source/cmScriptGenerator.cxx +++ b/Source/cmScriptGenerator.cxx @@ -11,7 +11,6 @@ cmScriptGenerator::cmScriptGenerator(std::string config_var, std::vector configurations) : RuntimeConfigVariable(std::move(config_var)) , Configurations(std::move(configurations)) - , ConfigurationName("") , ConfigurationTypes(nullptr) , ActionsPerConfig(false) {