Initialise all variables for WindowVertex.

Summary:
The default constructor shouldn't have been used anyway, but better safe
than sorry.

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3453
This commit is contained in:
David Edmundson 2016-11-25 09:46:07 +00:00
parent 2cc55e4077
commit adbd9fc54a

View file

@ -3153,7 +3153,7 @@ extern KWINEFFECTS_EXPORT EffectsHandler* effects;
inline
WindowVertex::WindowVertex()
: px(0), py(0), tx(0), ty(0)
: px(0), py(0), ox(0), oy(0), tx(0), ty(0)
{
}