From 644a5faf823a1cd6f355e3c0d13bc946072a3321 Mon Sep 17 00:00:00 2001 From: nyyakko Date: Fri, 2 Feb 2024 01:12:59 -0300 Subject: [PATCH] forwardanalyzer.cpp: Fix typo --- 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();