From 747eb83bed9849ccbc887fc03af540901910e68c Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 2 Aug 2023 08:51:35 +0300 Subject: [PATCH] correct assignment in QDateTimeParser::parseFormat() Signed-off-by: Ivailo Monev --- src/core/tools/qdatetime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tools/qdatetime.cpp b/src/core/tools/qdatetime.cpp index 8251e9b6d..fde63a863 100644 --- a/src/core/tools/qdatetime.cpp +++ b/src/core/tools/qdatetime.cpp @@ -3813,7 +3813,7 @@ bool QDateTimeParser::parseFormat(const QString &newFormat) QDTPDEBUGN("parseFormat: %s", newFormat.toLatin1().constData()); QVector newSectionNodes; - Sections newDisplay = nullptr; + Sections newDisplay = NoSection; QStringList newSeparators; int index = 0; int add = 0;