Browse Source

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 <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 1 month ago
parent
commit
50d0cf9b49
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      modemdvb/dvbt2receiver.cpp

1
modemdvb/dvbt2receiver.cpp

@ -946,7 +946,6 @@ void Receiver::decodeFrame(InterleavingFrame& frame, FEC& fec, Turn& turn) @@ -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

Loading…
Cancel
Save