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

2015-05-19 Thread Thomas Monjalon
> > 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

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

2015-05-19 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, May 19, 2015 11:37 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] examples/ip_pipeline: fix build with clang 3.6 > > This error is detected: >

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

2015-05-19 Thread Thomas Monjalon
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.