From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7AA3F7CEB for ; Thu, 4 May 2017 17:38:40 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 May 2017 08:38:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,287,1491289200"; d="scan'208";a="97638818" Received: from sivswdev01.ir.intel.com ([10.237.217.45]) by fmsmga006.fm.intel.com with ESMTP; 04 May 2017 08:38:39 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Thu, 4 May 2017 16:38:22 +0100 Message-Id: <20170504153822.19461-11-bruce.richardson@intel.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20170504153822.19461-1-bruce.richardson@intel.com> References: <20170504153822.19461-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 10/10] test/test: fix gcc 7 compiler error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2017 15:38:41 -0000 GCC flags an uninitialized value, so provide an initializer. Fixes: 3a17ff401f1e ("test/eventdev: add basic SW tests") Signed-off-by: Bruce Richardson --- test/test/test_eventdev_sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_eventdev_sw.c b/test/test/test_eventdev_sw.c index fd6447e..3abeaef 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 */ -- 2.9.3