From db7ae9a0cd3a4d9fd78ff9c84cf79cd628b316d8 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 7 Aug 2020 08:00:35 +0200 Subject: [PATCH] Complex decimators: fixed compiler warning --- sdrbase/dsp/decimatorc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdrbase/dsp/decimatorc.cpp b/sdrbase/dsp/decimatorc.cpp index ad93c062a..f7efe9b42 100644 --- a/sdrbase/dsp/decimatorc.cpp +++ b/sdrbase/dsp/decimatorc.cpp @@ -46,6 +46,8 @@ bool DecimatorC::decimate(Complex c, Complex& cd) return decimate32(c, cd); } else if (m_log2Decim == 6) { return decimate64(c, cd); + } else { + return true; // no decimation } }