summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index b27b994..9fc479e 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -162,10 +162,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
if (tmps.find("${ARGN}") != std::string::npos)
{
std::string argnDef;
- if (expandedArgs.size() > this->Args.size() - 1)
- {
- argnDef += expandedArgn;
- }
+ argnDef += expandedArgn;
cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
}