diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-02 21:52:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-02 21:52:20 (GMT) |
commit | 266971e30268cadb015cecb41900e602965d55a5 (patch) | |
tree | 18628773b6413f39fbe3406a314b0c9d8f896dc7 /Source/CPack | |
parent | 98a5bbd3aa30e77d5e3637ff6b981abe85ce5210 (diff) | |
download | CMake-266971e30268cadb015cecb41900e602965d55a5.zip CMake-266971e30268cadb015cecb41900e602965d55a5.tar.gz CMake-266971e30268cadb015cecb41900e602965d55a5.tar.bz2 |
STYLE: fix warnings
Diffstat (limited to 'Source/CPack')
-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) ) { |