diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-01 23:53:05 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-03 21:53:13 +0200 |
commit | ff710539ab31ba4b6f3b376621dd9fbd56e1b558 (patch) | |
tree | b48a73a41699fd1f8ef7b3926c7396d2562d49e4 /Source/cmNewLineStyle.cxx | |
parent | 5376151aa1d724b6d7ddef8d2e521d97cbfa74ae (diff) | |
download | cmake-ff710539ab31ba4b6f3b376621dd9fbd56e1b558.tar.gz |
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/cmNewLineStyle.cxx')
-rw-r--r-- | Source/cmNewLineStyle.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmNewLineStyle.cxx b/Source/cmNewLineStyle.cxx index a7d74297f3..08f0b5b092 100644 --- a/Source/cmNewLineStyle.cxx +++ b/Source/cmNewLineStyle.cxx @@ -76,8 +76,6 @@ const std::string cmNewLineStyle::GetCharacters() const return "\n"; case CRLF: return "\r\n"; - default: - ; } return ""; } |