There is unreachable code in the nthw/ files imported from the vendor. Those are listed in sources rather than base_sources, so they are not built separately and the exemption has to apply to the whole driver.
Signed-off-by: Stephen Hemminger <[email protected]> --- drivers/net/ntnic/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ntnic/meson.build b/drivers/net/ntnic/meson.build index 60688c8aaf..3bed975b73 100644 --- a/drivers/net/ntnic/meson.build +++ b/drivers/net/ntnic/meson.build @@ -131,3 +131,6 @@ sources = files( # Suppress shadow warnings for this driver due to extensive variable shadowing cflags += no_shadow_cflag + +# nthw/ code has unreachable code +cflags += no_unreachable_cflag -- 2.53.0

