From 63ac630d6c42ed6a769857761369ff3791c01dc0 Mon Sep 17 00:00:00 2001 From: nyako <36525792+nyyakko@users.noreply.github.com> Date: Fri, 2 Feb 2024 07:11:50 -0300 Subject: [PATCH] forwardanalyzer.cpp: Fix typo (#5937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this one caught me off guard 😆😆 --- lib/forwardanalyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forwardanalyzer.cpp b/lib/forwardanalyzer.cpp index 2d2abfe036e..1dcd68a9a4e 100644 --- a/lib/forwardanalyzer.cpp +++ b/lib/forwardanalyzer.cpp @@ -654,7 +654,7 @@ namespace { } else if (tok->isControlFlowKeyword() && Token::Match(tok, "if|while|for (") && Token::simpleMatch(tok->next()->link(), ") {")) { if (settings.checkLevel == Settings::CheckLevel::normal && ++branchCount > 4) { - reportError(Severity::information, "normalCheckLevelMaxBranches", "Limit analysis of branches. Use --check-level=exhausive to analyze all branches."); + reportError(Severity::information, "normalCheckLevelMaxBranches", "Limit analysis of branches. Use --check-level=exhaustive to analyze all branches."); return Break(Analyzer::Terminate::Bail); } Token* endCond = tok->next()->link();