1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-05 01:33:03 +00:00

cpplint: Do not use variable-length arrays [runtime/arrays]

This commit is contained in:
Carles Fernandez
2020-02-23 13:39:31 +01:00
parent d399f8c3b3
commit 649a1d7be6

View File

@@ -205,7 +205,7 @@ bool Fpga_Multicorrelator_8sc::free()
void Fpga_Multicorrelator_8sc::set_channel(uint32_t channel) 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; d_channel = channel;
// open the device corresponding to the assigned channel // open the device corresponding to the assigned channel