1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Initialize all members in the constructor

This commit is contained in:
Carles Fernandez 2018-02-08 12:49:53 +01:00
parent f52d46f608
commit c945ddcacd

View File

@ -136,6 +136,10 @@ pcps_acquisition::pcps_acquisition(
{
d_data_buffer_sc = static_cast<lv_16sc_t*>(volk_gnsssdr_malloc(d_fft_size * sizeof(lv_16sc_t), volk_gnsssdr_get_alignment()));
}
else
{
d_data_buffer_sc = nullptr;
}
grid_ = arma::fmat();
}