Cosmetics: fixed the coding style

This commit is contained in:
Felipe Zimmerle
2015-10-20 16:05:50 -03:00
parent 90c74beca1
commit 59af8ab842
8 changed files with 13 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ Redirect::~Redirect() {
Redirect::Redirect(const std::string& action)
: Action(action, RunTimeOnlyIfMatchKind),
m_url(action) {
//m_url = m_url.erase(0, 9);
// m_url = m_url.erase(0, 9);
if (m_url.at(0) == '\'') {
m_url.erase(0, 1);
if (m_url.size() > 0) {

View File

@@ -102,7 +102,8 @@ void SetVar::dump() {
bool SetVar::evaluate(Rule *rule, Assay *assay) {
std::string targetValue;
int value = 0;
std::string variableNameExpanded = MacroExpansion::expand(variableName, assay);
std::string variableNameExpanded = MacroExpansion::expand(variableName,
assay);
std::string resolvedPre = MacroExpansion::expand(predicate, assay);
if (operation == setOperation) {