net/ixgbe: fix warning with GCC 9
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 1 May 2019 19:50:11 +0000 (20:50 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 May 2019 12:17:24 +0000 (14:17 +0200)
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 the value to "NULL" fixes the issue.

Fixes: 8eecb3295aed ("ixgbe: add LRO support")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

No differences found