Re: [PATCH v2] app/testpmd: fix flex item compilation error

2023-02-21 Thread Thomas Monjalon
21/02/2023 11:02, Rongwei Liu: > When configuring meson with option "--optimization=1", gcc > complains "maybe-uninitialized" warning and it was treated as > error since Werror is enabled. > > Assign fp to NULL at declaration can avoid this. That's probably a false positive, but I'm OK to workaro

[PATCH v2] app/testpmd: fix flex item compilation error

2023-02-21 Thread Rongwei Liu
When configuring meson with option "--optimization=1", gcc complains "maybe-uninitialized" warning and it was treated as error since Werror is enabled. Assign fp to NULL at declaration can avoid this. Bugzilla ID: 1163 Fixes: c8e25fbf1440 ("ethdev: add flow flex modify") Cc: sta...@dpdk.org Repo