COMP: silence warnings

Alex
This commit is contained in:
Alexander Neundorf 2007-08-08 15:44:02 -04:00
parent c5d79a298d
commit 406349a1d1
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,7 @@ cmCPackRPMGenerator::~cmCPackRPMGenerator()
//---------------------------------------------------------------------- //----------------------------------------------------------------------
int cmCPackRPMGenerator::CompressFiles(const char* outFileName, int cmCPackRPMGenerator::CompressFiles(const char* outFileName,
const char* toplevel, const char* toplevel,
const std::vector<std::string>& files) const std::vector<std::string>& /*files*/)
{ {
this->ReadListFile("CPackRPM.cmake"); this->ReadListFile("CPackRPM.cmake");
if (!this->IsSet("RPMBUILD_EXECUTABLE")) if (!this->IsSet("RPMBUILD_EXECUTABLE"))
@ -46,10 +46,13 @@ int cmCPackRPMGenerator::CompressFiles(const char* outFileName,
return 0; return 0;
} }
const char* rpmbuildExecutable = this->GetOption("RPMBUILD_EXECUTABLE"); const char* rpmbuildExecutable = this->GetOption("RPMBUILD_EXECUTABLE");
printf("rpmbuild: %s outFileName: %s toplevel: %s\n", rpmbuildExecutable,
outFileName, toplevel);
return 1; return 1;
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
int cmCPackRPMGenerator::InitializeInternal() int cmCPackRPMGenerator::InitializeInternal()
{ {