From 74c0468a18bece417905f310219797959898ed21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 12 Oct 2011 22:06:19 +0200 Subject: [PATCH] astyle formatting --- lib/checkbufferoverrun.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index ebe584468..4e9a7dbbe 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -915,11 +915,11 @@ void CheckBufferOverrun::checkScope(const Token *tok, const std::vector 0 && Token::Match(tok, "[;{}] %varid% =", varid)) { - // using varid .. bailout - if (!Token::Match(tok->tokAt(3), "%varid%", varid)) - break; - pointerIsOutOfBounds = false; - } + // using varid .. bailout + if (!Token::Match(tok->tokAt(3), "%varid%", varid)) + break; + pointerIsOutOfBounds = false; + } // Array index.. if ((varid > 0 && ((tok->str() == "return" || (!tok->isName() && !Token::Match(tok, "[.&]"))) && Token::Match(tok->next(), "%varid% [ %num% ]", varid))) ||