summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 20:18:07 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:46 (GMT)
commitfc9b5193e4a05ee2db6ec3f3a2d5e0086b4eafba (patch)
tree41fea8fe38fa9d9a1ccff9aaff3891acd397370c
parentccb5ecac0bb41b507d041548ea38f20f267b9f40 (diff)
downloadCMake-fc9b5193e4a05ee2db6ec3f3a2d5e0086b4eafba.zip
CMake-fc9b5193e4a05ee2db6ec3f3a2d5e0086b4eafba.tar.gz
CMake-fc9b5193e4a05ee2db6ec3f3a2d5e0086b4eafba.tar.bz2
clang-tidy: fix `readability-redundant-string-init` lints
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index d988624..5cdfb75 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2114,7 +2114,7 @@ void cmVisualStudio10TargetGenerator::ParseSettingsProperty(
bool cmVisualStudio10TargetGenerator::PropertyIsSameInAllConfigs(
const ConfigToSettings& toolSettings, const std::string& propName)
{
- std::string firstPropValue = "";
+ std::string firstPropValue;
for (const auto& configToSettings : toolSettings) {
const std::unordered_map<std::string, std::string>& settings =
configToSettings.second;