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.
This commit is contained in:
Brad King 2009-10-28 08:45:46 -04:00
parent 054b587504
commit e0d0d5db0f
1 changed files with 0 additions and 1 deletions

View File

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