Commit f4f38ba4 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

STYLE: remove warning from branch

parent eaff66db
......@@ -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;
......
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment