summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-01 21:53:05 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-03 19:53:13 (GMT)
commitff710539ab31ba4b6f3b376621dd9fbd56e1b558 (patch)
treeb48a73a41699fd1f8ef7b3926c7396d2562d49e4 /Source/cmTargetLinkLibrariesCommand.cxx
parent5376151aa1d724b6d7ddef8d2e521d97cbfa74ae (diff)
downloadCMake-ff710539ab31ba4b6f3b376621dd9fbd56e1b558.zip
CMake-ff710539ab31ba4b6f3b376621dd9fbd56e1b558.tar.gz
CMake-ff710539ab31ba4b6f3b376621dd9fbd56e1b558.tar.bz2
Remove default labels from fully covered switch statements.
Allow compilers to warn when new enum values are added, making switches no-longer fully-covered.
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index 1c2e625..56e1338 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -70,7 +70,6 @@ bool cmTargetLinkLibrariesCommand
GetRequiredPolicyError(cmPolicies::CMP0016);
break;
case cmPolicies::NEW: // NEW behavior prints the error.
- default:
break;
}
}