examples/ip_pipeline: fix build with clang 3.6
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 19 May 2015 09:34:16 +0000 (11:34 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 19 May 2015 15:35:22 +0000 (17:35 +0200)
commit0fbcba7b3614569f3430ce1493f6a5f5a787c023
tree370326407ebd3d4501c85a27a6fbaccf6edede09
parentff5c3960017cf4625581e2a03cead35cbd3e6744
examples/ip_pipeline: fix build with clang 3.6

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@6wind.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/cmdline.c