STYLE: fix warnings
This commit is contained in:
parent
98a5bbd3aa
commit
266971e302
@ -74,7 +74,6 @@ int cmCPackCygwinSourceGenerator::CompressFiles(const char* outFileName,
|
|||||||
= this->GetOption("CPACK_TEMPORARY_DIRECTORY");
|
= this->GetOption("CPACK_TEMPORARY_DIRECTORY");
|
||||||
packageDirFileName += ".tar";
|
packageDirFileName += ".tar";
|
||||||
std::string output;
|
std::string output;
|
||||||
int retVal = -1;
|
|
||||||
// skip one parent up to the cmCPackTGZGenerator to create tar file
|
// skip one parent up to the cmCPackTGZGenerator to create tar file
|
||||||
this->Compress = false; // just create tar not tar.gz
|
this->Compress = false; // just create tar not tar.gz
|
||||||
if ( !this->cmCPackTGZGenerator::CompressFiles(packageDirFileName.c_str(),
|
if ( !this->cmCPackTGZGenerator::CompressFiles(packageDirFileName.c_str(),
|
||||||
|
@ -101,7 +101,6 @@ int cmCPackTarBZip2Generator::CompressFiles(const char* outFileName,
|
|||||||
= this->GetOption("CPACK_TEMPORARY_DIRECTORY");
|
= this->GetOption("CPACK_TEMPORARY_DIRECTORY");
|
||||||
packageDirFileName += ".tar";
|
packageDirFileName += ".tar";
|
||||||
std::string output;
|
std::string output;
|
||||||
int retVal = -1;
|
|
||||||
if ( !this->Superclass::CompressFiles(packageDirFileName.c_str(),
|
if ( !this->Superclass::CompressFiles(packageDirFileName.c_str(),
|
||||||
toplevel, files) )
|
toplevel, files) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user