[cmake-commits] hoffman committed cmCPackCygwinSourceGenerator.cxx 1.2 1.3 cmCPackTarBZip2Generator.cxx 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 2 16:52:22 EST 2007


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

Modified Files:
	cmCPackCygwinSourceGenerator.cxx cmCPackTarBZip2Generator.cxx 
Log Message:
STYLE: fix warnings


Index: cmCPackTarBZip2Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackTarBZip2Generator.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cmCPackTarBZip2Generator.cxx	2 Feb 2007 19:40:26 -0000	1.3
+++ cmCPackTarBZip2Generator.cxx	2 Feb 2007 21:52:20 -0000	1.4
@@ -101,7 +101,6 @@
     = this->GetOption("CPACK_TEMPORARY_DIRECTORY");
   packageDirFileName += ".tar";
   std::string output;
-  int retVal = -1;
   if ( !this->Superclass::CompressFiles(packageDirFileName.c_str(),
       toplevel, files) )
     {

Index: cmCPackCygwinSourceGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackCygwinSourceGenerator.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmCPackCygwinSourceGenerator.cxx	2 Feb 2007 19:40:25 -0000	1.2
+++ cmCPackCygwinSourceGenerator.cxx	2 Feb 2007 21:52:20 -0000	1.3
@@ -74,7 +74,6 @@
     = this->GetOption("CPACK_TEMPORARY_DIRECTORY");
   packageDirFileName += ".tar";
   std::string output;
-  int retVal = -1;
   // skip one parent up to the cmCPackTGZGenerator to create tar file
   this->Compress = false; // just create tar not tar.gz
   if ( !this->cmCPackTGZGenerator::CompressFiles(packageDirFileName.c_str(),



More information about the Cmake-commits mailing list