ud3tn/components/cla
Maximilian Nitsch 17c7a6304c cla/mtcp: Fix gnu-folding-constant warning
To fix the compiler warning:

> warning: variable length array folded to constant array as an
> extension [-Wgnu-folding-constant]

the value of the variable `BUFFER_SIZE` must be known at compile time.
Since this is not the case with a `const size_t BUFFER_SIZE`, either
`#define BUFFER_SIZE 9` must be used or the value must be wrapped in an
`enum`. I opted for `enum { BUFFER_SIZE = 9 }` to keep the variable
definition local.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-01-08 14:44:39 +01:00
..
posix cla/mtcp: Fix gnu-folding-constant warning 2026-01-08 14:44:39 +01:00
storage cla_sqlite, sqlite_agent: Fix memory leak of prepared statement on error 2024-09-30 15:54:28 +02:00
bibe_proto.c Remove config.h: Move all definitions to individual headers 2023-09-29 14:43:21 +02:00
blackhole_parser.c Insert SPDX license expression comments into our .c, .h, .py, and .sh code 2022-02-20 16:24:38 +01:00
cla.c cla, mk: Fix disabling SQLite functionality 2025-06-05 17:03:39 +02:00
cla_contact_rx_task.c bundle: Implement dedicated bundle validation before further processing 2025-06-05 11:05:47 +02:00
cla_contact_tx_task.c bundle7, tx: Move creation of block entry to lib 2025-09-21 15:08:13 +02:00
mtcp_proto.c Adjust all logging calls to include a log level 2023-11-24 14:50:25 +01:00