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:
parent
054b587504
commit
e0d0d5db0f
|
@ -315,7 +315,6 @@ namespace
|
|||
}
|
||||
case cmPolicies::OLD:
|
||||
return oldResult;
|
||||
break;
|
||||
case cmPolicies::REQUIRED_IF_USED:
|
||||
case cmPolicies::REQUIRED_ALWAYS:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue