summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-09-24 15:16:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-09-24 15:16:13 (GMT)
commit9a2dbdc1f1a73a419c3e174756814b8c79963c68 (patch)
tree544787e591e29155226902d39d8230b083df6c78
parent5059adb5ff4749b992ab520710d819c0d07b135a (diff)
downloadCMake-9a2dbdc1f1a73a419c3e174756814b8c79963c68.zip
CMake-9a2dbdc1f1a73a419c3e174756814b8c79963c68.tar.gz
CMake-9a2dbdc1f1a73a419c3e174756814b8c79963c68.tar.bz2
COMP: fix warnings on hp
-rw-r--r--Source/cmCommandArgumentLexer.cxx1
-rw-r--r--Source/cmDependsJavaLexer.cxx1
-rw-r--r--Source/cmExprLexer.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCommandArgumentLexer.cxx b/Source/cmCommandArgumentLexer.cxx
index 4881171..d58d125 100644
--- a/Source/cmCommandArgumentLexer.cxx
+++ b/Source/cmCommandArgumentLexer.cxx
@@ -1046,6 +1046,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 */
} /* end of cmCommandArgument_yylex */
/* yy_get_next_buffer - try to read in a new buffer
diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx
index a168a7d..3af688a 100644
--- a/Source/cmDependsJavaLexer.cxx
+++ b/Source/cmDependsJavaLexer.cxx
@@ -1596,6 +1596,7 @@ case YY_STATE_EOF(string):
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
+return 0; /* this should not happen but it silences a warning*/
} /* end of cmDependsJava_yylex */
/* yy_get_next_buffer - try to read in a new buffer
diff --git a/Source/cmExprLexer.cxx b/Source/cmExprLexer.cxx
index 6183804..a53b5c9 100644
--- a/Source/cmExprLexer.cxx
+++ b/Source/cmExprLexer.cxx
@@ -981,6 +981,7 @@ case YY_STATE_EOF(INITIAL):
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
+return 0; /* this should not happen but it silences a warning*/
} /* end of cmExpr_yylex */
/* yy_get_next_buffer - try to read in a new buffer