From 302aadadb31d77d3ee7ea8faedb53e702a3302cf Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 24 Sep 2008 09:57:52 -0400 Subject: [PATCH] STYLE: fix compiler warning --- Source/CPack/cmCPackGenerator.cxx | 3 +-- Source/CPack/cmCPackGenerator.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index f7593faaa..b68be5b20 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -881,8 +881,7 @@ int cmCPackGenerator::DoPackage() } //---------------------------------------------------------------------- -int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf, - const char* argv0) +int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf) { this->MakefileMap = mf; this->Name = name; diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h index 228116ac1..0a4bfa75d 100644 --- a/Source/CPack/cmCPackGenerator.h +++ b/Source/CPack/cmCPackGenerator.h @@ -73,7 +73,7 @@ public: /** * Initialize generator */ - int Initialize(const char* name, cmMakefile* mf, const char* argv0); + int Initialize(const char* name, cmMakefile* mf); /** * Construct generator