On Thu, May 20, 2021 at 1:07 PM Kevin Traynor <[email protected]> wrote:
>
> GCC 11 complains that 'a' is uninitialized.
>
> ../dpdk/app/test/test_prefetch.c: In function 'test_prefetch':
> ../dpdk/app/test/test_prefetch.c:25:9:
> error: 'a' may be used uninitialized [-Werror=maybe-uninitialized]
>    25 |         rte_prefetch0(&a);
>       |         ^~~~~~~~~~~~~~~~~
>
> Fix by initializing 'a'.
>
> Bugzilla ID: 714
> Fixes: af75078fece3 ("first public release")
> Cc: [email protected]
>
> Reported-by: Ali Alnubani <[email protected]>
> Signed-off-by: Kevin Traynor <[email protected]>

Reviewed-by: David Marchand <[email protected]>

-- 
David Marchand

Reply via email to