mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
clang-tidy: fix readability-redundant-string-init lints
This commit is contained in:
1 parent
ccb5ecac0b
commit
fc9b5193e4
1 file changed
+1
-1
@@ -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