Fix possible use of uninitialized value.
--HG-- branch : develop
This commit is contained in:
parent
049a72ff20
commit
bba88c108f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user