From 877192ed7649fa39359cf515165cba6d7f67e91e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 29 May 2015 20:23:13 +0200 Subject: [PATCH] ensuring that members are initialized at the constructor --- .../galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc index dd4ff6de7..f923caac2 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc +++ b/src/algorithms/acquisition/gnuradio_blocks/galileo_e5a_noncoherent_iq_acquisition_caf_cc.cc @@ -137,6 +137,13 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc::galileo_e5a_noncoherentIQ_acquisit d_magnitudeQB = 0; } } + else + { + d_fft_code_I_B = 0; + d_magnitudeIB = 0; + d_fft_code_Q_B = 0; + d_magnitudeQB = 0; + } // Direct FFT d_fft_if = new gr::fft::fft_complex(d_fft_size, true);