1
0
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:
Carles Fernandez 2020-02-23 13:39:31 +01:00
parent d399f8c3b3
commit 649a1d7be6
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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