From 9ab1b426ce7e8f14effcbc1bdaaf3ed5984c6c85 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Fri, 6 Dec 2019 17:06:58 -0600 Subject: [PATCH] Fix some cppcheck warnings in gnuradio --- gnuradio/ssb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnuradio/ssb.h b/gnuradio/ssb.h index eac61493b..b97adc6c1 100644 --- a/gnuradio/ssb.h +++ b/gnuradio/ssb.h @@ -60,7 +60,7 @@ class LSBDemodChainCF : public DemodChainCF { LSBDemodChainCF (VrSource *src, VrSink *snk, rmode_t mode, pbwidth_t width, int input_rate, freq_t centerfreq = 0) : DemodChainCF(src, snk, mode, width, input_rate, centerfreq) { - float low_cutoff = 300; + low_cutoff = 300; // centerfreq, relative to IF_center_freq centerfreq += (freq_t)(-low_cutoff - width/2);