1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 11:45:47 +00:00

fixing defect detected by coverity scan

This commit is contained in:
Carles Fernandez 2015-11-01 13:44:03 +01:00
parent 48c4bb9084
commit db4d55db62

View File

@ -237,7 +237,7 @@ void sbas_l1_telemetry_decoder_cc::sample_aligner::reset()
*/
bool sbas_l1_telemetry_decoder_cc::sample_aligner::get_symbols(const std::vector<double> samples, std::vector<double> &symbols)
{
double smpls[d_n_smpls_in_history];
double smpls[3] = { };
double corr_diff;
bool stand_by = true;
double sym;