From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eventdev: fix icc build Date: Thu, 19 Apr 2018 13:30:56 +0200 Message-ID: <1603413.mnY5xBgn0v@xps> References: <20180417131342.32027-1-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Carrillo, Erik G" , "jerin.jacob@caviumnetworks.com" , ferruh.yigit@intel.com To: "De Lara Guarch, Pablo" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2660C8D3B for ; Thu, 19 Apr 2018 13:31:03 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > ICC complains about variable being used before its value is set. > > Since the variable is only assigned in the for loop, its declaration is moved > > inside and is initialized. > > > > lib/librte_eventdev/rte_event_timer_adapter.c(708): error #592: > > variable "ret" is used before its value is set > > RTE_SET_USED(ret); > > > > Fixes: 6750b21bd6af ("eventdev: add default software timer adapter") > > Signed-off-by: Pablo de Lara > > Acked-by: Erik Gabriel Carrillo Applied, thanks