COMP: fix compiler warnings
This commit is contained in:
parent
0e18526103
commit
5c68b61a9c
@ -112,7 +112,6 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
|||||||
// declare varuiables for ARGV ARGN but do not compute until needed
|
// declare varuiables for ARGV ARGN but do not compute until needed
|
||||||
std::string argvDef;
|
std::string argvDef;
|
||||||
std::string argnDef;
|
std::string argnDef;
|
||||||
bool argvDefInitialized = false;
|
|
||||||
|
|
||||||
// save the current definitions of all vars that we will be setting
|
// save the current definitions of all vars that we will be setting
|
||||||
std::string oldARGC;
|
std::string oldARGC;
|
||||||
@ -143,7 +142,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
|||||||
}
|
}
|
||||||
argvDef += *eit;
|
argvDef += *eit;
|
||||||
oldARGVArgs.push_back(std::string());
|
oldARGVArgs.push_back(std::string());
|
||||||
sprintf(argvName,"ARGV%i",cnt);
|
sprintf(argvName,"ARGV%i",static_cast<int>(cnt));
|
||||||
if (m_Makefile->GetDefinition(argvName))
|
if (m_Makefile->GetDefinition(argvName))
|
||||||
{
|
{
|
||||||
oldARGVArgs[cnt] = m_Makefile->GetDefinition(argvName);
|
oldARGVArgs[cnt] = m_Makefile->GetDefinition(argvName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user