Re: [dpdk-dev] [PATCH] eventdev: fix icc build

2018-04-19 Thread Thomas Monjalon
> > 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 v

Re: [dpdk-dev] [PATCH] eventdev: fix icc build

2018-04-17 Thread Carrillo, Erik G
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Tuesday, April 17, 2018 8:14 AM > To: jerin.ja...@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] eventdev: fix icc build > > ICC complains about variable being used before its

Re: [dpdk-dev] [PATCH] eventdev: fix icc build

2018-04-17 Thread Ferruh Yigit
On 4/17/2018 2:13 PM, Pablo de Lara wrote: > 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