Initialize pointer to null before using it

This commit is contained in:
Blake-Madden
2025-08-26 10:31:50 -04:00
committed by GitHub
parent d6af1f50ca
commit 2c3ab07427
+1 -1
View File
@@ -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) )