mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-16 05:00:35 +00:00
Fix defect detected by coverity scan (uninitialized members in constructor)
This commit is contained in:
parent
5b2b487a2f
commit
34382d7ac5
@ -133,6 +133,17 @@ galileo_telemetry_decoder_cc::galileo_telemetry_decoder_cc(
|
||||
break;
|
||||
}
|
||||
default:
|
||||
d_bits_per_preamble = 0;
|
||||
d_samples_per_preamble = 0;
|
||||
d_preamble_period_symbols = 0;
|
||||
d_preamble_samples = nullptr;
|
||||
d_secondary_code_samples = nullptr;
|
||||
d_samples_per_symbol = 0U;
|
||||
d_PRN_code_period_ms = 0U;
|
||||
d_required_symbols = 0U;
|
||||
d_frame_length_symbols = 0.0;
|
||||
CodeLength = 0;
|
||||
DataLength = 0;
|
||||
std::cout << "Galileo unified telemetry decoder error: Unknown frame type " << std::endl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user