On Fri, Mar 7, 2025 at 3:13 AM Andre Muezerie
<andre...@linux.microsoft.com> 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 <andre...@linux.microsoft.com>

Looks simple enough and valid.
Reviewed-by: David Marchand <david.march...@redhat.com>


-- 
David Marchand

Reply via email to