summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-09-24 10:07:50 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2008-09-24 10:07:50 -0400
commitf4f38ba45d5c639a111065101464954c11c5e44f (patch)
tree4cc7262a618d5c08d89aa0bc219e7f74bfa85bf0 /Source
parenteaff66dbe84063bd1b60b603ed230a9287fb1c85 (diff)
downloadcmake-f4f38ba45d5c639a111065101464954c11c5e44f.tar.gz
STYLE: remove warning from branch
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx3
-rw-r--r--Source/CPack/cmCPackGenerator.h2
-rw-r--r--Source/CPack/cpack.cxx2
3 files changed, 3 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index f7593faaa3..b68be5b209 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 228116ac10..0a4bfa75dc 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
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index ba91a089c6..330d61f19b 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -382,7 +382,7 @@ int main (int argc, char *argv[])
<< gen << std::endl);
parsed = 0;
}
- if ( parsed && !cpackGenerator->Initialize(gen, mf, argv[0]) )
+ if ( parsed && !cpackGenerator->Initialize(gen, mf) )
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
"Cannot initialize the generator " << gen << std::endl);