From 50d0cf9b49a56d3edb429dbae397a7199e70fef7 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Wed, 14 Oct 2026 19:04:58 -0400 Subject: [PATCH] modemdvb: Remove unused DVB-T2 constellation variable Remove the unused eta variable in Receiver::decodeFrame(). The value returned by bitsPerCell() was never used, so its calculation is unnecessary and removing it eliminates the unused-variable compiler warning without changing behavior. Signed-off-by: Robin Getz --- modemdvb/dvbt2receiver.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modemdvb/dvbt2receiver.cpp b/modemdvb/dvbt2receiver.cpp index 45614801f..59f17e31b 100644 --- a/modemdvb/dvbt2receiver.cpp +++ b/modemdvb/dvbt2receiver.cpp @@ -946,7 +946,6 @@ void Receiver::decodeFrame(InterleavingFrame& frame, FEC& fec, Turn& turn) } const int ncells = cellsPerFECBlock(plp.m_fecType, plp.m_constellation); - const int eta = bitsPerCell(plp.m_constellation); const int nblocks = plp.m_numBlocks; const bool ti = plp.m_timeIlLength > 0; const int nti = ti ? plp.tiBlocks() : nblocks; // Without time interleaving, each FEC block is on its own