]> git.droids-corp.org - dpdk.git/commit
examples/pipeline: fix build
authorAli Alnubani <alialnu@nvidia.com>
Thu, 2 Jun 2022 12:34:12 +0000 (15:34 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Jun 2022 11:12:19 +0000 (13:12 +0200)
commit77dd857d306f6b71eb93935ce1a01197156b5428
tree76ab8902c91dd235de07439151da48c0a41d4cba
parent94b0f04dc0e3dfa75c47487a8cb89ea35b650959
examples/pipeline: fix build

This patch fixes the following build failure seen on Ubuntu 16.04
with gcc 5.4.0 because of uninitialized variable:
  [..]
  examples/pipeline/cli.c:2853:9: error: 'session_id' may be used
    uninitialized in this function [-Werror=maybe-uninitialized]
  [..]

Fixes: 172254555f9f ("examples/pipeline: support packet mirroring")
Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c