astyle formatting

This commit is contained in:
Daniel Marjamäki 2012-03-25 11:51:59 +02:00
parent ca6a93816b
commit 1d95416840
2 changed files with 9 additions and 9 deletions

View File

@ -522,7 +522,7 @@ void CheckOther::checkSizeofForPointerSize()
{ {
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase(); const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
if(!_settings->isEnabled("style")) if (!_settings->isEnabled("style"))
return; return;
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) { for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) {

View File

@ -383,7 +383,7 @@ int Token::multiCompare(const char *haystack, const char *needle)
bool emptyStringFound = false; bool emptyStringFound = false;
const char *needlePointer = needle; const char *needlePointer = needle;
for(;;) { for (;;) {
if (*needlePointer == *haystack) { if (*needlePointer == *haystack) {
if (*needlePointer == '\0') if (*needlePointer == '\0')
return 1; return 1;