Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

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() ...@@ -881,8 +881,7 @@ int cmCPackGenerator::DoPackage()
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf, int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf)
const char* argv0)
{ {
this->MakefileMap = mf; this->MakefileMap = mf;
this->Name = name; this->Name = name;
......
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
/** /**
* Initialize generator * Initialize generator
*/ */
int Initialize(const char* name, cmMakefile* mf, const char* argv0); int Initialize(const char* name, cmMakefile* mf);
/** /**
* Construct generator * Construct generator
......
...@@ -382,7 +382,7 @@ int main (int argc, char *argv[]) ...@@ -382,7 +382,7 @@ int main (int argc, char *argv[])
<< gen << std::endl); << gen << std::endl);
parsed = 0; parsed = 0;
} }
if ( parsed && !cpackGenerator->Initialize(gen, mf, argv[0]) ) if ( parsed && !cpackGenerator->Initialize(gen, mf) )
{ {
cmCPack_Log(&log, cmCPackLog::LOG_ERROR, cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
"Cannot initialize the generator " << gen << std::endl); "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