From 2c3ab07427f47ecf37bd7c99494e80d74bbeccae Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:31:50 -0400 Subject: [PATCH] Initialize pointer to null before using it --- src/common/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/string.cpp b/src/common/string.cpp index 6c11296622..dcc878a2b9 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1494,7 +1494,7 @@ ToNumeric(T* pVal, PreserveErrno preserveErrno; errno = 0; - wxStringCharType *end; + wxStringCharType *end = nullptr; const R res = convert(start, &end, base); if ( rangeCheck && !rangeCheck(res) )