From 078c36921da4c650f0cb4f1edc7e6a56e7126d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Debrard?= Date: Wed, 26 Jan 2011 20:10:56 +0100 Subject: [PATCH] runastyle --- lib/checkother.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 33f6f7641..6e74c7cc6 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -157,12 +157,12 @@ void CheckOther::checkSizeofForArrayParameter() { declTok = declTok->next()->link(); } - if (!(Token::Match(declTok->next(), "= %str%")) && !(Token::simpleMatch(declTok->next(), "= {")) && !(Token::simpleMatch(declTok->next(), ";"))) + if (!(Token::Match(declTok->next(), "= %str%")) && !(Token::simpleMatch(declTok->next(), "= {")) && !(Token::simpleMatch(declTok->next(), ";"))) { if (Token::simpleMatch(declTok->next(), ",")) { declTok = declTok->next(); - while(!Token::simpleMatch(declTok, ";")) + while (!Token::simpleMatch(declTok, ";")) { if (Token::simpleMatch(declTok, ")")) {