From aef354b65592aff70148bb792ea70601e2a7cf4a Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 12 Feb 2020 16:19:37 +0100 Subject: [PATCH] Make sure attribute is defined Summary: Was running it on valgrind, saw it complain. Test Plan: Valgrind doesn't complain anymore Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D27324 --- colorcorrection/manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorcorrection/manager.h b/colorcorrection/manager.h index 51c5bc0413..a5f34dea34 100644 --- a/colorcorrection/manager.h +++ b/colorcorrection/manager.h @@ -283,7 +283,7 @@ private: ClockSkewNotifier *m_skewNotifier; // Specifies whether Night Color is enabled. - bool m_active; + bool m_active = false; // Specifies whether Night Color is currently running. bool m_running = false;