mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
cmGeneratorExpressionNode: Clarify constant in unreachable code path
This commit is contained in:
@@ -3395,7 +3395,7 @@ static cmPolicies::PolicyID policyForString(const char* policy_id)
|
||||
#undef RETURN_POLICY_ID
|
||||
|
||||
assert(false && "Unreachable code. Not a valid policy");
|
||||
return cmPolicies::CMP0002;
|
||||
return cmPolicies::CMPCOUNT;
|
||||
}
|
||||
|
||||
static const struct TargetPolicyNode : public cmGeneratorExpressionNode
|
||||
|
||||
Reference in New Issue
Block a user