mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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