From 02c8bd2bbdf95c76a4e050d057990ccd2909c635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 16 Jan 2025 10:15:04 +0100 Subject: [PATCH] Fix missing initalization in Rotary() --- src/util/rotary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/rotary.h b/src/util/rotary.h index 7c58ad4b9d4..c0571c7a274 100644 --- a/src/util/rotary.h +++ b/src/util/rotary.h @@ -11,7 +11,8 @@ class Rotary { public: Rotary(qsizetype filterLength) - : m_filterHistory(filterLength, 0.0) { + : m_filterHistory(filterLength, 0.0), + m_headIndex{0} { DEBUG_ASSERT(filterLength > 0); }; // Low pass filtered rotary event