Re: [dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30

2019-05-02 Thread David Marchand
On Wed, May 1, 2019 at 9:50 PM Bruce Richardson wrote: > Compiling on Fedora 30, we get the following warning, causing build failure > when Werror flag is set: > > ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used > uninitialized in this function [-Wmaybe-uninitialized] > 214

[dpdk-dev] [PATCH 1/4] net/ixgbe: fix warning with GCC 9 on Fedora 30

2019-05-01 Thread Bruce Richardson
Compiling on Fedora 30, we get the following warning, causing build failure when Werror flag is set: ../drivers/net/ixgbe/ixgbe_rxtx.c:2141:14: warning: ‘nmb’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2141 |rxe->mbuf = nmb; |~~^ Initializing th