summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardLevelResolver.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-10-04 17:24:27 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-04 21:14:58 (GMT)
commitfdd81a609a5f581d0bf6f935d3580377361a4b31 (patch)
tree6ffc6242cf1c3563490eae54a9b7c30379bc01cc /Source/cmStandardLevelResolver.cxx
parent73a1d422a54fb62c429578429e146081307300bc (diff)
downloadCMake-fdd81a609a5f581d0bf6f935d3580377361a4b31.zip
CMake-fdd81a609a5f581d0bf6f935d3580377361a4b31.tar.gz
CMake-fdd81a609a5f581d0bf6f935d3580377361a4b31.tar.bz2
cmStandardLevelResolver: Clarify local variable name
Diffstat (limited to 'Source/cmStandardLevelResolver.cxx')
-rw-r--r--Source/cmStandardLevelResolver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmStandardLevelResolver.cxx b/Source/cmStandardLevelResolver.cxx
index 50389b5..469bef8 100644
--- a/Source/cmStandardLevelResolver.cxx
+++ b/Source/cmStandardLevelResolver.cxx
@@ -553,14 +553,14 @@ bool cmStandardLevelResolver::AddRequiredTargetFeature(
// code put in these properties explicitly. That is mostly true now,
// but for compatibility we need to continue updating the property here.
std::string newRequiredStandard;
- bool newRequired = this->GetNewRequiredStandard(
+ bool succeeded = this->GetNewRequiredStandard(
target->GetName(), feature,
target->GetProperty(cmStrCat(lang, "_STANDARD")), newRequiredStandard,
error);
if (!newRequiredStandard.empty()) {
target->SetProperty(cmStrCat(lang, "_STANDARD"), newRequiredStandard);
}
- return newRequired;
+ return succeeded;
}
bool cmStandardLevelResolver::CheckCompileFeaturesAvailable(