diff options
author | Brad King <brad.king@kitware.com> | 2009-10-28 12:45:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-28 12:45:46 (GMT) |
commit | e0d0d5db0f45e6b86e70916200999562cb877026 (patch) | |
tree | 9a076eb29992cab55bdd6900fa00f3e92ff9daef /Source/cmIfCommand.cxx | |
parent | 054b587504cfa3a5f80a502f7d231104b579b5df (diff) | |
download | CMake-e0d0d5db0f45e6b86e70916200999562cb877026.zip CMake-e0d0d5db0f45e6b86e70916200999562cb877026.tar.gz CMake-e0d0d5db0f45e6b86e70916200999562cb877026.tar.bz2 |
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.
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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: { |