From 266971e30268cadb015cecb41900e602965d55a5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 2 Feb 2007 16:52:20 -0500 Subject: STYLE: fix warnings --- Source/CPack/cmCPackCygwinSourceGenerator.cxx | 1 - Source/CPack/cmCPackTarBZip2Generator.cxx | 1 - 2 files changed, 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) ) { -- cgit v0.12