diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-04-24 11:48:04 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-04-28 21:19:22 +0000 |
commit | 049d0b438ef2971181549f195c7e0338cd1c60f4 (patch) | |
tree | a37775bb3a98924c46a9d7f0151d288e04d8be42 /src/vat/api_format.c | |
parent | 07363a45fe4a7fe693acf438f0b56f927bdd3fbd (diff) |
vlib: use flexible array in vlib_buffer for GCC-10
GCC-10 increase overflows-related warnings but gets confused by 0-length
arrays. Use C99 flexible length array instead.
Type: fix
Change-Id: Ie62cfa8faaa408479a598785fd3f06ffd0233c7a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vat/api_format.c')
0 files changed, 0 insertions, 0 deletions