astyle formatting

This commit is contained in:
Daniel Marjamäki 2015-07-28 12:47:08 +02:00
parent a17f4d0a2d
commit a1dfd6cf73
1 changed files with 4 additions and 4 deletions

View File

@ -1560,13 +1560,13 @@ static void valueFlowAfterCondition(TokenList *tokenlist, SymbolDatabase* symbol
if (startToken) { if (startToken) {
if (!valueFlowForward(startToken->next(), startToken->link(), var, varid, values, true, tokenlist, errorLogger, settings)) if (!valueFlowForward(startToken->next(), startToken->link(), var, varid, values, true, tokenlist, errorLogger, settings))
continue; continue;
if (isVariableChanged(startToken, startToken->link(), varid)) { if (isVariableChanged(startToken, startToken->link(), varid)) {
// TODO: The endToken should not be startToken->link() in the valueFlowForward call // TODO: The endToken should not be startToken->link() in the valueFlowForward call
if (settings->debugwarnings) if (settings->debugwarnings)
bailout(tokenlist, errorLogger, startToken->link(), "valueFlowAfterCondition: " + var->name() + " is changed in conditional block"); bailout(tokenlist, errorLogger, startToken->link(), "valueFlowAfterCondition: " + var->name() + " is changed in conditional block");
continue; continue;
} }
} }
// After conditional code.. // After conditional code..