> > 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
> -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:
>
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.
3 matches
Mail list logo