From 9bb3ab4e3e1ea403888ca34ef27cb316dcdde59d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Jul 2022 09:55:55 -0400 Subject: Use default member initialization --- src/Patchage.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Patchage.hpp') diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 6f70620..c4a4687 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -180,7 +180,7 @@ protected: std::mutex _events_mutex; std::queue _driver_events; BufferSizeColumns _buf_size_columns; - Legend* _legend; + Legend* _legend{nullptr}; Metadata _metadata; Drivers _drivers; Reactor _reactor; @@ -190,7 +190,7 @@ protected: Glib::RefPtr _warning_tag; Options _options; - bool _attach; + bool _attach{true}; }; } // namespace patchage -- cgit v1.2.1