summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-04 15:57:30 (GMT)
committerBrad King <brad.king@kitware.com>2017-12-04 15:58:15 (GMT)
commit21541bb5ccde705afa8400a9a2b6f4454580fa5e (patch)
treed667b5ee9a99d42478333fbc48ea38fec3c222dd /Source/cmVisualStudio10TargetGenerator.cxx
parente841ae823edc3021aaa5b297be715344a9bca47e (diff)
downloadCMake-21541bb5ccde705afa8400a9a2b6f4454580fa5e.zip
CMake-21541bb5ccde705afa8400a9a2b6f4454580fa5e.tar.gz
CMake-21541bb5ccde705afa8400a9a2b6f4454580fa5e.tar.bz2
Use CM_FALLTHROUGH in Windows-specific code
Some cases were missed by earlier sweeps due to not compiling Windows-specific code.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 540d877..d2f21cd 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -52,6 +52,7 @@ static std::string cmVS10EscapeComment(std::string comment)
case '>': /* no break */
case '^':
echoable += '^'; /* no break */
+ CM_FALLTHROUGH;
default:
echoable += *c;
break;