mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05: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
|
#undef RETURN_POLICY_ID
|
||||||
|
|
||||||
assert(false && "Unreachable code. Not a valid policy");
|
assert(false && "Unreachable code. Not a valid policy");
|
||||||
return cmPolicies::CMP0002;
|
return cmPolicies::CMPCOUNT;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct TargetPolicyNode : public cmGeneratorExpressionNode
|
static const struct TargetPolicyNode : public cmGeneratorExpressionNode
|
||||||
|
|||||||
Reference in New Issue
Block a user