diff options
author | Brad King <brad.king@kitware.com> | 2008-03-15 14:00:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-15 14:00:40 (GMT) |
commit | d0670676d55ccb4ea7a38f066745a4392470f96a (patch) | |
tree | 6141112a19085653c6a0f25a9f63c011b24f3e89 /Source/cmComputeLinkInformation.cxx | |
parent | 133e5b5dd84c17f053549e2fc8d0995dfb01c076 (diff) | |
download | CMake-d0670676d55ccb4ea7a38f066745a4392470f96a.zip CMake-d0670676d55ccb4ea7a38f066745a4392470f96a.tar.gz CMake-d0670676d55ccb4ea7a38f066745a4392470f96a.tar.bz2 |
COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index ca6ed00..6944298 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -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. |