Browse Source

Remove unreachable code in cmIfCommand

The commit "Fix if() command and CMP0012 OLD/NEW behavior" introduced an
unreachable 'break' after 'return' in a switch statement.  We remove it.
Brad King 16 years ago
parent
commit
e0d0d5db0f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmIfCommand.cxx

+ 0 - 1
Source/cmIfCommand.cxx

@@ -315,7 +315,6 @@ namespace
         }
       case cmPolicies::OLD:
         return oldResult;
-        break;
       case cmPolicies::REQUIRED_IF_USED:
       case cmPolicies::REQUIRED_ALWAYS:
         {