From ff16270679c4decf1b05961b8943d0d9fc1519ef Mon Sep 17 00:00:00 2001 From: chrchr Date: Mon, 21 Aug 2023 11:58:53 +0200 Subject: [PATCH] Fix error message --- lib/valueflow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index 3572dddd3b9..f9d3f9425a7 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -5548,7 +5548,7 @@ static void valueFlowSymbolicOperators(const SymbolDatabase& symboldatabase, con ValueFlow::Value v = value; v.bound = ValueFlow::Value::Bound::Point; v.valueType = ValueFlow::Value::ValueType::INT; - v.errorPath.emplace_back(strlenTok, "Return index of string to the first element that is 0"); + v.errorPath.emplace_back(strlenTok, "Return index of first '\\0' character in string"); setTokenValue(tok, std::move(v), settings); } }