From d0670676d55ccb4ea7a38f066745a4392470f96a Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 15 Mar 2008 10:00:40 -0400 Subject: [PATCH] COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl. --- Source/cmComputeLinkInformation.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index ca6ed00a0..694429868 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.