clang-tidy: fix readability-redundant-string-init lints

This commit is contained in:
Ben Boeckel
2022-11-22 15:18:07 -05:00
parent ccb5ecac0b
commit fc9b5193e4

View File

@@ -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;