diff options
-rw-r--r-- | Source/CPack/cmCPackCygwinSourceGenerator.cxx | 1 | ||||
-rw-r--r-- | Source/CPack/cmCPackTarBZip2Generator.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackCygwinSourceGenerator.cxx b/Source/CPack/cmCPackCygwinSourceGenerator.cxx index ce70311..c906255 100644 --- a/Source/CPack/cmCPackCygwinSourceGenerator.cxx +++ b/Source/CPack/cmCPackCygwinSourceGenerator.cxx @@ -74,7 +74,6 @@ int cmCPackCygwinSourceGenerator::CompressFiles(const char* outFileName, = 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(), diff --git a/Source/CPack/cmCPackTarBZip2Generator.cxx b/Source/CPack/cmCPackTarBZip2Generator.cxx index 7a52afd..d4c6dd6 100644 --- a/Source/CPack/cmCPackTarBZip2Generator.cxx +++ b/Source/CPack/cmCPackTarBZip2Generator.cxx @@ -101,7 +101,6 @@ int cmCPackTarBZip2Generator::CompressFiles(const char* outFileName, = this->GetOption("CPACK_TEMPORARY_DIRECTORY"); packageDirFileName += ".tar"; std::string output; - int retVal = -1; if ( !this->Superclass::CompressFiles(packageDirFileName.c_str(), toplevel, files) ) { |