COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.

This commit is contained in:
Brad King 2008-03-15 10:00:40 -04:00
parent 133e5b5dd8
commit d0670676d5
1 changed files with 0 additions and 2 deletions

View File

@ -1349,7 +1349,6 @@ bool cmComputeLinkInformation::FinishLinkerSearchDirectories()
case cmPolicies::NEW: case cmPolicies::NEW:
// Should never happen due to assignment of OldLinkDirMode // Should never happen due to assignment of OldLinkDirMode
return true; return true;
break;
case cmPolicies::REQUIRED_IF_USED: case cmPolicies::REQUIRED_IF_USED:
case cmPolicies::REQUIRED_ALWAYS: case cmPolicies::REQUIRED_ALWAYS:
{ {
@ -1361,7 +1360,6 @@ bool cmComputeLinkInformation::FinishLinkerSearchDirectories()
this->Target->GetBacktrace()); this->Target->GetBacktrace());
return false; return false;
} }
break;
} }
// Add the link directories for full path items. // Add the link directories for full path items.