cmMacroCommand: Remove conditional append of semicolon.

The conditions are never true.
This commit is contained in:
Stephen Kelly 2015-02-11 19:16:15 +01:00
parent 081a13f7c0
commit 3250a7e535
1 changed files with 0 additions and 8 deletions

View File

@ -164,10 +164,6 @@ bool cmMacroHelperCommand::InvokeInitialPass
std::string argnDef; std::string argnDef;
if (expandedArgs.size() > this->Args.size() - 1) if (expandedArgs.size() > this->Args.size() - 1)
{ {
if (!argnDef.empty() && !expandedArgs.empty())
{
argnDef += ";";
}
argnDef += expandedArgn; argnDef += expandedArgn;
} }
cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str()); cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
@ -180,10 +176,6 @@ bool cmMacroHelperCommand::InvokeInitialPass
char argvName[60]; char argvName[60];
std::string argvDef; std::string argvDef;
if (!argvDef.empty() && !expandedArgs.empty())
{
argvDef += ";";
}
argvDef += expandedArgv; argvDef += expandedArgv;
cmSystemTools::ReplaceString(tmps, "${ARGV}", argvDef.c_str()); cmSystemTools::ReplaceString(tmps, "${ARGV}", argvDef.c_str());