On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie <[email protected]> wrote: > > When compiling with MSVC the error below pops up: > > ../app/test/test_ipfrag.c(39): error C2466: > cannot allocate an array of constant size 0 > ../app/test/test_ipfrag.c(157): warning C4034: sizeof returns 0 > ../app/test/test_ipfrag.c(160): warning C4034: sizeof returns 0 > > The fix is to simplify the code and remove the zero-size array. > > Signed-off-by: Andre Muezerie <[email protected]>
Looks simple enough and valid. Reviewed-by: David Marchand <[email protected]> -- David Marchand

