From 4122b2111f762614bc80d4541e34f3d0df0371c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 15 Jul 2019 12:56:44 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/checkleakautovar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkleakautovar.cpp b/lib/checkleakautovar.cpp index 5286666e9..7713ea0b2 100644 --- a/lib/checkleakautovar.cpp +++ b/lib/checkleakautovar.cpp @@ -237,7 +237,7 @@ void CheckLeakAutoVar::checkScope(const Token * const startToken, std::set notzero, unsigned int recursiveCount) { - if (++recursiveCount > 1000) // maximum number of "else if ()" + if (++recursiveCount > 1000) // maximum number of "else if ()" throw InternalError(startToken, "Internal limit: CheckLeakAutoVar::checkScope() Maximum recursive count of 1000 reached.", InternalError::LIMIT); std::map &alloctype = varInfo->alloctype;