astyle formatting

This commit is contained in:
Daniel Marjamäki 2010-02-18 19:55:47 +01:00
parent b59d79c303
commit 375d2b1fcd
3 changed files with 14 additions and 14 deletions

View File

@ -394,11 +394,11 @@ void CheckOther::unreachableCode()
break; break;
// If there is a statement below the return it is unreachable // If there is a statement below the return it is unreachable
/* original: /* original:
if (!Token::Match(tok, "; case|default|}|#") && if (!Token::Match(tok, "; case|default|}|#") &&
!Token::Match(tok, "; %var% :") && !Token::Match(tok, "; %var% :") &&
!Token::simpleMatch(tok, "; break")) !Token::simpleMatch(tok, "; break"))
*/ */
if (Token::simpleMatch(tok, "; break")) if (Token::simpleMatch(tok, "; break"))
{ {
unreachableCodeError(tok->next()); unreachableCodeError(tok->next());