From 406349a1d1d7416c018767f22158d12dab2d9434 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 8 Aug 2007 15:44:02 -0400 Subject: [PATCH] COMP: silence warnings Alex --- Source/CPack/cmCPackRPMGenerator.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/CPack/cmCPackRPMGenerator.cxx b/Source/CPack/cmCPackRPMGenerator.cxx index 59ef94f3a..e4e0b05a2 100644 --- a/Source/CPack/cmCPackRPMGenerator.cxx +++ b/Source/CPack/cmCPackRPMGenerator.cxx @@ -37,7 +37,7 @@ cmCPackRPMGenerator::~cmCPackRPMGenerator() //---------------------------------------------------------------------- int cmCPackRPMGenerator::CompressFiles(const char* outFileName, const char* toplevel, - const std::vector& files) + const std::vector& /*files*/) { this->ReadListFile("CPackRPM.cmake"); if (!this->IsSet("RPMBUILD_EXECUTABLE")) @@ -46,10 +46,13 @@ int cmCPackRPMGenerator::CompressFiles(const char* outFileName, return 0; } const char* rpmbuildExecutable = this->GetOption("RPMBUILD_EXECUTABLE"); + printf("rpmbuild: %s outFileName: %s toplevel: %s\n", rpmbuildExecutable, + outFileName, toplevel); return 1; } + //---------------------------------------------------------------------- int cmCPackRPMGenerator::InitializeInternal() {