From 093c94c3640acd4e2c514e164d760172930f8567 Mon Sep 17 00:00:00 2001 From: Florian Fleissner Date: Thu, 5 Dec 2019 13:40:32 +0100 Subject: [PATCH] Removed an inaccessible private class member This caused a warning with clang 8. Signed-off-by: Florian Fleissner --- src/kaleidoscope/plugin/LED-Wavepool.cpp | 3 +-- src/kaleidoscope/plugin/LED-Wavepool.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kaleidoscope/plugin/LED-Wavepool.cpp b/src/kaleidoscope/plugin/LED-Wavepool.cpp index c97a6026..ddc25a04 100644 --- a/src/kaleidoscope/plugin/LED-Wavepool.cpp +++ b/src/kaleidoscope/plugin/LED-Wavepool.cpp @@ -39,8 +39,7 @@ PROGMEM const uint8_t WavepoolEffect::TransientLEDMode::rc2pos[Kaleidoscope.devi }; WavepoolEffect::TransientLEDMode::TransientLEDMode(const WavepoolEffect *parent) - : parent_(parent), - frames_since_event_(0), + : frames_since_event_(0), surface_{}, page_(0) {} diff --git a/src/kaleidoscope/plugin/LED-Wavepool.h b/src/kaleidoscope/plugin/LED-Wavepool.h index 77cae328..62c98a40 100644 --- a/src/kaleidoscope/plugin/LED-Wavepool.h +++ b/src/kaleidoscope/plugin/LED-Wavepool.h @@ -61,8 +61,6 @@ class WavepoolEffect : public Plugin, private: - const WavepoolEffect *parent_; - uint8_t frames_since_event_; int8_t surface_[2][WP_WID * WP_HGT]; uint8_t page_;