From f157ecf7ae5788bcb0ccdf36e13ff973013770a4 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Wed, 14 Oct 2026 19:04:05 -0400 Subject: [PATCH] demodwefax: Mark unused acquisition frequency parameter Resolve the compiler warning for the unused frequencyHz parameter in processAcquisitionSample(). Use Q_UNUSED to explicitly document that the parameter is intentionally unused without changing behavior. Signed-off-by: Robin Getz --- plugins/channelrx/demodwefax/wefaxdemodsink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/channelrx/demodwefax/wefaxdemodsink.cpp b/plugins/channelrx/demodwefax/wefaxdemodsink.cpp index 29b62cfc5..cd51d5ea6 100644 --- a/plugins/channelrx/demodwefax/wefaxdemodsink.cpp +++ b/plugins/channelrx/demodwefax/wefaxdemodsink.cpp @@ -347,6 +347,7 @@ void WefaxDemodSink::processOneSample(const Complex& sample) void WefaxDemodSink::processAcquisitionSample(float video, float frequencyHz, double magnitudeSquared) { + Q_UNUSED(frequencyHz); const WefaxDecoder::State state = m_decoder.state(); ++m_acquisitionSampleCount;