astyle formatting
This commit is contained in:
parent
b59d79c303
commit
375d2b1fcd
|
@ -394,11 +394,11 @@ void CheckOther::unreachableCode()
|
|||
break;
|
||||
|
||||
// If there is a statement below the return it is unreachable
|
||||
/* original:
|
||||
/* original:
|
||||
if (!Token::Match(tok, "; case|default|}|#") &&
|
||||
!Token::Match(tok, "; %var% :") &&
|
||||
!Token::simpleMatch(tok, "; break"))
|
||||
*/
|
||||
*/
|
||||
if (Token::simpleMatch(tok, "; break"))
|
||||
{
|
||||
unreachableCodeError(tok->next());
|
||||
|
|
Loading…
Reference in New Issue