mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
cpplint: Do not use variable-length arrays [runtime/arrays]
This commit is contained in:
parent
d399f8c3b3
commit
649a1d7be6
@ -205,7 +205,7 @@ bool Fpga_Multicorrelator_8sc::free()
|
||||
|
||||
void Fpga_Multicorrelator_8sc::set_channel(uint32_t channel)
|
||||
{
|
||||
char device_io_name[max_length_deviceio_name]; // driver io name
|
||||
char device_io_name[max_length_deviceio_name] = '\0'; // driver io name
|
||||
d_channel = channel;
|
||||
|
||||
// open the device corresponding to the assigned channel
|
||||
|
Loading…
Reference in New Issue
Block a user