From adbd9fc54aa152fbdec9819c1456de452b0d70f1 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Fri, 25 Nov 2016 09:46:07 +0000 Subject: [PATCH] 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 --- libkwineffects/kwineffects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index 63e63dc667..5ff36ac8f0 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -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) { }