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:
parent
48c4bb9084
commit
db4d55db62
@ -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)
|
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;
|
double corr_diff;
|
||||||
bool stand_by = true;
|
bool stand_by = true;
|
||||||
double sym;
|
double sym;
|
||||||
|
Loading…
Reference in New Issue
Block a user