Fix uninitialized members
CID 181185: Uninitialized members (UNINIT_CTOR) Non-static class member "key" is not initialized in this constructor nor in any functions that it calls. Change-Id: I8f2c18263a0dc81b98eb398d618184bf761c02e1 Coverity-Id: 181185 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
e147c3d413
commit
821533b61f
@ -170,7 +170,7 @@ struct Property
|
||||
inline Property(qint32 k, const QVariant &v) : key(k), value(v) {}
|
||||
inline Property() {}
|
||||
|
||||
qint32 key;
|
||||
qint32 key = -1;
|
||||
QVariant value;
|
||||
|
||||
inline bool operator==(const Property &other) const
|
||||
|
Loading…
Reference in New Issue
Block a user