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); } }