mirror of
https://github.com/reactos/CMake.git
synced 2025-01-27 06:42:32 +00:00
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…
x
Reference in New Issue
Block a user