> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Tuesday, April 17, 2018 8:14 AM
> To: [email protected]; Carrillo, Erik G
> <[email protected]>
> Cc: [email protected]; De Lara Guarch, Pablo <[email protected]>
> Subject: [PATCH] eventdev: fix icc build
> 
> 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 <[email protected]>
> ---

Acked-by: Erik Gabriel Carrillo <[email protected]>

Reply via email to