diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-11 18:16:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-11 21:58:33 (GMT) |
commit | 3250a7e535684bec684c0109b31675ba72dc3aa9 (patch) | |
tree | f67c707c61160dc57ed9fbd4e8be52fe2c234379 /Source/cmMacroCommand.cxx | |
parent | 081a13f7c011d0ebd28caebfedee1e3e3f7602c9 (diff) | |
download | CMake-3250a7e535684bec684c0109b31675ba72dc3aa9.zip CMake-3250a7e535684bec684c0109b31675ba72dc3aa9.tar.gz CMake-3250a7e535684bec684c0109b31675ba72dc3aa9.tar.bz2 |
cmMacroCommand: Remove conditional append of semicolon.
The conditions are never true.
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index f7daa76..b27b994 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -164,10 +164,6 @@ bool cmMacroHelperCommand::InvokeInitialPass std::string argnDef; if (expandedArgs.size() > this->Args.size() - 1) { - if (!argnDef.empty() && !expandedArgs.empty()) - { - argnDef += ";"; - } argnDef += expandedArgn; } cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str()); @@ -180,10 +176,6 @@ bool cmMacroHelperCommand::InvokeInitialPass char argvName[60]; std::string argvDef; - if (!argvDef.empty() && !expandedArgs.empty()) - { - argvDef += ";"; - } argvDef += expandedArgv; cmSystemTools::ReplaceString(tmps, "${ARGV}", argvDef.c_str()); |