From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] examples/l3fwd-power: fix build with icc Date: Fri, 26 Oct 2018 23:13:23 +0100 Message-ID: References: <20181026220045.28739-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, liang.j.ma@intel.com, lei.a.yao@intel.com To: Thomas Monjalon , David Hunt Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id EE5E32B8C for ; Sat, 27 Oct 2018 00:13:26 +0200 (CEST) In-Reply-To: <20181026220045.28739-1-thomas@monjalon.net> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/26/2018 11:00 PM, Thomas Monjalon wrote: > main.c(376): error #592: variable "lcore_id" is used before its value is set > RTE_SET_USED(lcore_id); > ^ > > The variables were voided with RTE_SET_USED without an obvious reason. > Removing these voidings should avoid the icc error. > > Fixes: a137d012 ("examples/l3fwd-power: support traffic pattern aware control") > > Signed-off-by: Thomas Monjalon Tested-by: Ferruh Yigit