From ebc8afa64ceeab96b6689bb863ba919bcbda674f Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 23 Jan 2026 12:11:12 +0000 Subject: [PATCH] Remove unused variables. --- plugins/channelrx/demodinmarsat/inmarsatdemodsink.cpp | 2 -- plugins/channelrx/demodinmarsat/inmarsatdemodsink.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/channelrx/demodinmarsat/inmarsatdemodsink.cpp b/plugins/channelrx/demodinmarsat/inmarsatdemodsink.cpp index 0cb06b4f0..d77071f57 100644 --- a/plugins/channelrx/demodinmarsat/inmarsatdemodsink.cpp +++ b/plugins/channelrx/demodinmarsat/inmarsatdemodsink.cpp @@ -325,7 +325,6 @@ InmarsatDemodSink::InmarsatDemodSink(InmarsatDemod *stdCDemod) : m_adjustedSPS = MAX_SAMPLES_PER_SYMBOL; m_adjustment = 0; - m_totalSampleCount = 0; m_error = 0; m_errorSum = 0; m_mu = 0.0; @@ -512,7 +511,6 @@ void InmarsatDemodSink::processOneSample(Complex &ci) m_adjustedSPS = SAMPLES_PER_SYMBOL - m_adjustment; // Positve mu indicates late, so reduce time to next sample m_adjustment = adjustment; - m_prevTotalSampleCount = m_totalSampleCount; // Costas loop for fine phase/freq correction - runs at symbol rate diff --git a/plugins/channelrx/demodinmarsat/inmarsatdemodsink.h b/plugins/channelrx/demodinmarsat/inmarsatdemodsink.h index 352339561..6c38b0998 100644 --- a/plugins/channelrx/demodinmarsat/inmarsatdemodsink.h +++ b/plugins/channelrx/demodinmarsat/inmarsatdemodsink.h @@ -232,8 +232,6 @@ private: Real m_mu; int m_adjustedSPS; int m_adjustment; - qint64 m_totalSampleCount; - qint64 m_prevTotalSampleCount; int m_bit; uint8_t m_bits[DEMODULATOR_SYMBOLSPERCHUNK]; int m_bitCount;