Avoids call `toupper' twice while resolving a variable

This commit is contained in:
Felipe Zimmerle 2017-03-08 14:26:02 -03:00
parent 85f98c8a66
commit f17da09fc0
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -242,8 +242,6 @@ std::string MacroExpansion::expand(const std::string& input,
std::string col = std::string(variable, 0, collection);
std::string var = std::string(variable, collection + 1,
variable.length() - (collection + 1));
col = utils::string::toupper(col);
if (col == "ARGS") {
variableValue = transaction->m_variableArgs.resolveFirst(var);
}