From bf89200a5ca7870c9f36a6517eb43d2863da82de Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Mon, 22 Jan 2024 18:22:45 +0100 Subject: [PATCH] fixed uninitialized member --- lib/jkqtcommon/jkqtpcsstools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jkqtcommon/jkqtpcsstools.cpp b/lib/jkqtcommon/jkqtpcsstools.cpp index 7ff680bf9c..19ab2e805a 100644 --- a/lib/jkqtcommon/jkqtpcsstools.cpp +++ b/lib/jkqtcommon/jkqtpcsstools.cpp @@ -380,7 +380,7 @@ JKQTPCSSParser::Token::Token(double num, const QString &unit_): } JKQTPCSSParser::Token::Token(const QString &str, TokenType type_): - StringValue(str), type(type_) + StringValue(str), type(type_), NumberValue(0.0) { if (type_==NUMBER) NumberValue=str.toDouble(); if (type_==HEXSTRING) NumberValue=str.toInt(nullptr,16);