From e0d0d5db0f45e6b86e70916200999562cb877026 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 28 Oct 2009 08:45:46 -0400 Subject: 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. --- Source/cmIfCommand.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index dfdbc86..22ba28f 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -315,7 +315,6 @@ namespace } case cmPolicies::OLD: return oldResult; - break; case cmPolicies::REQUIRED_IF_USED: case cmPolicies::REQUIRED_ALWAYS: { -- cgit v0.12