Browse Source

cmStandardLevelResolver: Clarify local variable name

Brad King 2 years ago
parent
commit
fdd81a609a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmStandardLevelResolver.cxx

+ 2 - 2
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(