[cmake-commits] king committed cmDependsFortran.cxx 1.34 1.35

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Dec 28 22:29:22 EST 2007


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

Modified Files:
	cmDependsFortran.cxx 
Log Message:
COMP: Fix uninitialized variable and unused parameter warnings.


Index: cmDependsFortran.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortran.cxx,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- cmDependsFortran.cxx	28 Dec 2007 16:50:14 -0000	1.34
+++ cmDependsFortran.cxx	29 Dec 2007 03:29:19 -0000	1.35
@@ -148,7 +148,7 @@
 
 //----------------------------------------------------------------------------
 bool cmDependsFortran::WriteDependencies(const char *src, const char *obj,
-  std::ostream& makeDepends, std::ostream& internalDepends)
+                                         std::ostream&, std::ostream&)
 {
   // Make sure this is a scanning instance.
   if(!src || src[0] == '\0')
@@ -319,7 +319,7 @@
                                           const char* moduleDir)
 {
   std::string line;
-  bool doing_provides;
+  bool doing_provides = false;
   while(cmSystemTools::GetLineFromStream(fin, line))
     {
     // Ignore comments and empty lines.



More information about the Cmake-commits mailing list