[dpdk-dev] [PATCH] examples/ip_pipeline: fix build with clang 3.6

Thomas Monjalon thomas.monjalon at 6wind.com
Tue May 19 17:46:26 CEST 2015


> > This error is detected:
> >     examples/ip_pipeline/cmdline.c:272:15: error: address of array
> >           'params->file_path' will always evaluate to 'true'
> >             if (!params->file_path) {
> >                 ~~~~~~~~~^~~~~~~~~
> > 
> > file_path is an array in a structure so it's unneeded to check it.
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks


More information about the dev mailing list