mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user