summaryrefslogtreecommitdiffstats
path: root/tests/monitor/testcases
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-08-20 14:44:43 +0200
committerFlorian Westphal <fw@strlen.de>2025-08-21 09:38:51 +0200
commitcd9f168875aca72caacdcfb552c15b6484a82bd5 (patch)
tree74a306c1ff046dedf684eacba6932e8b4e14b355 /tests/monitor/testcases
parent4c5ffeda4df41f6b0d7effa6167b20c6e2376e9f (diff)
mnl: silence compiler warning
gcc 14.3.0 reports this: src/mnl.c: In function 'mnl_nft_chain_add': src/mnl.c:916:25: warning: 'nest' may be used uninitialized [-Wmaybe-uninitialized] 916 | mnl_attr_nest_end(nlh, nest); I guess its because compiler can't know that the conditions cannot change in-between and assumes nest_end() can be called without nest_start(). Fixes: 01277922fede ("src: ensure chain policy evaluation when specified") Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/monitor/testcases')
0 files changed, 0 insertions, 0 deletions