On 30-Nov-26 12:26 AM, Stephen Hemminger wrote:
Clang reports eight unreachable statements in parse_cfg_file().
Each error check calls rte_panic() and then does "goto error_exit",
but rte_panic() does not return, so none of the gotos can be taken
and the error_exit cleanup block is never entered.

Remove the dead gotos and the orphaned label. Error handling is
unchanged: rte_panic() still aborts on a bad config file.

Signed-off-by: Stephen Hemminger <[email protected]>
---

Hi, I already have one for the same issue: https://patches.dpdk.org/project/dpdk/patch/[email protected]/


Reply via email to