From ad9be9d54cf364fab0a14448a7d1aff1a8fca0de Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 18 Jul 2022 17:29:00 +0100 Subject: [PATCH] Remove obsolete code that doesn't compile in debug builds --- plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp | 3 --- plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp b/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp index 0846b5d73..4994888a3 100644 --- a/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp +++ b/plugins/channelrx/demoddatv/ldpctool/ldpc_tool.cpp @@ -201,9 +201,6 @@ int main(int argc, char **argv) code[(j + n) * CODE_LEN + i] = reinterpret_cast(simd + i)[n]; } - for (int i = 0; i < BLOCKS * CODE_LEN; ++i) - assert(!std::isnan(code[i])); - for (ssize_t pos = 0; pos < iosize;) { ssize_t nw = write(1, code + pos, iosize - pos); diff --git a/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp b/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp index 4976deaed..b8b77bc90 100644 --- a/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp +++ b/plugins/channelrx/demoddatv/ldpctool/ldpcworker.cpp @@ -140,9 +140,6 @@ void LDPCWorker::process(QByteArray data) m_code[(j + n) * m_codeLen + i] = reinterpret_cast(m_simd + i)[n]; } - for (int i = 0; i < BLOCKS * m_codeLen; ++i) - assert(!std::isnan(m_code[i])); - m_mutexOut.lock(); for (int j = 0; j < BLOCKS; j++) {