mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
clang-tidy: fix readability-redundant-string-init lints
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user