From: Bruce Richardson Date: Thu, 4 May 2017 15:38:22 +0000 (+0100) Subject: test/eventdev: fix build with gcc 7 X-Git-Tag: spdx-start~3257 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4da724ace6277b477213a2d96ffecfabe53ec3b3;hp=f4e6ff881ffcdd1178550fc26a6343bbc8d36530;p=dpdk.git test/eventdev: fix build with gcc 7 GCC flags an uninitialized value, so provide an initializer. Fixes: 3a17ff401f1e ("test/eventdev: add basic SW tests") Signed-off-by: Bruce Richardson --- diff --git a/test/test/test_eventdev_sw.c b/test/test/test_eventdev_sw.c index 86efd742df..b187d02903 100644 --- a/test/test/test_eventdev_sw.c +++ b/test/test/test_eventdev_sw.c @@ -2526,7 +2526,7 @@ parallel_basic(struct test *t, int check_order) int i; uint32_t deq_pkts, j; struct rte_mbuf *mbufs[3]; - struct rte_mbuf *mbufs_out[3]; + struct rte_mbuf *mbufs_out[3] = { 0 }; const uint32_t MAGIC_SEQN = 1234; /* Create instance with 4 ports */