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:
Jesus Fernandez 2017-06-18 16:28:54 +02:00 committed by Jesus Fernandez
parent e147c3d413
commit 821533b61f

View File

@ -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