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