Browse Source

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

Brad King 18 years ago
parent
commit
d0670676d5
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Source/cmComputeLinkInformation.cxx

+ 0 - 2
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.