[cmake-commits] hoffman committed cmCommandArgumentLexer.cxx 1.14 1.15 cmDependsJavaLexer.cxx 1.11 1.12 cmExprLexer.cxx 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 24 11:16:15 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10003/Source

Modified Files:
	cmCommandArgumentLexer.cxx cmDependsJavaLexer.cxx 
	cmExprLexer.cxx 
Log Message:
COMP: fix warnings on hp


Index: cmCommandArgumentLexer.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCommandArgumentLexer.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cmCommandArgumentLexer.cxx	5 Jun 2007 13:19:27 -0000	1.14
+++ cmCommandArgumentLexer.cxx	24 Sep 2007 15:16:13 -0000	1.15
@@ -1046,6 +1046,7 @@
                         "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

Index: cmDependsJavaLexer.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsJavaLexer.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmDependsJavaLexer.cxx	4 Dec 2006 22:26:39 -0000	1.11
+++ cmDependsJavaLexer.cxx	24 Sep 2007 15:16:13 -0000	1.12
@@ -1596,6 +1596,7 @@
       "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

Index: cmExprLexer.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExprLexer.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cmExprLexer.cxx	23 Aug 2006 16:02:30 -0000	1.6
+++ cmExprLexer.cxx	24 Sep 2007 15:16:13 -0000	1.7
@@ -981,6 +981,7 @@
       "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



More information about the Cmake-commits mailing list