summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentLexer.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-04 15:47:04 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-07 14:10:04 (GMT)
commit72e137ea7d4912099b469f6a3b0f8913a1ac5a65 (patch)
tree74e2760b90664b3ce3e9e06298c863f2fc11a322 /Source/cmCommandArgumentLexer.cxx
parenta43d82dca45322ea2994680fed5394577c3c50f8 (diff)
downloadCMake-72e137ea7d4912099b469f6a3b0f8913a1ac5a65.zip
CMake-72e137ea7d4912099b469f6a3b0f8913a1ac5a65.tar.gz
CMake-72e137ea7d4912099b469f6a3b0f8913a1ac5a65.tar.bz2
Re-word comment on unreachable return statements
Do not use the word "warning" in the comment because CTest launchers match it and CTestCustom.cmake.in does not suppress it.
Diffstat (limited to 'Source/cmCommandArgumentLexer.cxx')
-rw-r--r--Source/cmCommandArgumentLexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentLexer.cxx b/Source/cmCommandArgumentLexer.cxx
index e62e53e..e23ef8a 100644
--- a/Source/cmCommandArgumentLexer.cxx
+++ b/Source/cmCommandArgumentLexer.cxx
@@ -1069,7 +1069,7 @@ case YY_STATE_EOF(NOESCAPES):
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
-return 0; /* this should not happend but it should silence a warning */
+return 0; /* this should not happen but it quiets some compilers */
} /* end of cmCommandArgument_yylex */
/* yy_get_next_buffer - try to read in a new buffer