Fix possible use of uninitialized value.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-21 12:32:38 +02:00
parent 049a72ff20
commit bba88c108f

View File

@ -355,7 +355,7 @@ QDataStream &operator<<(QDataStream &s, const QMarginsF &m)
QDataStream &operator>>(QDataStream &s, QMarginsF &m)
{
double left, top, right, bottom;
double left = 0, top = 0, right = 0, bottom = 0;
s >> left;
s >> top;
s >> right;