diff --git a/src/protobuf/qprotobufserializer_p.h b/src/protobuf/qprotobufserializer_p.h index 703e9fc4..3dbe4bbc 100644 --- a/src/protobuf/qprotobufserializer_p.h +++ b/src/protobuf/qprotobufserializer_p.h @@ -74,7 +74,7 @@ public: void reset(QByteArrayView data); - QProtobufSelfcheckIterator m_it; + QProtobufSelfcheckIterator m_it = {}; private: void setError(QAbstractProtobufSerializer::Error error, QAnyStringView errorString) override;