COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.
This commit is contained in:
parent
133e5b5dd8
commit
d0670676d5
|
@ -1349,7 +1349,6 @@ bool cmComputeLinkInformation::FinishLinkerSearchDirectories()
|
|||
case cmPolicies::NEW:
|
||||
// Should never happen due to assignment of OldLinkDirMode
|
||||
return true;
|
||||
break;
|
||||
case cmPolicies::REQUIRED_IF_USED:
|
||||
case cmPolicies::REQUIRED_ALWAYS:
|
||||
{
|
||||
|
@ -1361,7 +1360,6 @@ bool cmComputeLinkInformation::FinishLinkerSearchDirectories()
|
|||
this->Target->GetBacktrace());
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
// Add the link directories for full path items.
|
||||
|
|
Loading…
Reference in New Issue