]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: ci: Mark ForEachMacros as iterator names
authorMichal Nowak <mnowak@isc.org>
Mon, 23 Jun 2025 17:05:09 +0000 (19:05 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 23 Jun 2025 17:05:09 +0000 (19:05 +0200)
commit6f17df074d20cd085bf4e5d8428ad735a654f7e2
tree4a559a14af83d813d5925b2fe42b9b7f998d3665
parent8a7c95e7603b98bd3743d484757efbd25de30fae
parent0569f4a559ba067cf6e7c4f24bc4f8fb7d74eaf8
fix: ci: Mark ForEachMacros as iterator names

After f10f5572ac7e0520eed4516be52df625ad56c860 spatch started reporting
the following warnings:

    Impossible: How can diff be null and have not Correct in compare_c? Tag1 ("diff token: ( VS (\nFile \"./lib/dns/include/dns/rdatasetiter.h\", line 109, column 32, charpos = 3103\n  around = '(',\n  whole content = #define DNS_RDATASETITER_FOREACH(rds)               \\\nFile \"/tmp/cocci-output-110376-c54da3-rdatasetiter.h\", line 109, column 32, charpos = 3103\n  around = '(',\n  whole content = #define DNS_RDATASETITER_FOREACH(rds)               \\\n")
    Impossible: How can diff be null and have not Correct in compare_c? Tag1 ("diff token: ( VS (\nFile \"./lib/dns/include/dns/dbiterator.h\", line 114, column 30, charpos = 3413\n  around = '(',\n  whole content = #define DNS_DBITERATOR_FOREACH(rds)               \\\nFile \"/tmp/cocci-output-110387-883f2f-dbiterator.h\", line 114, column 30, charpos = 3413\n  around = '(',\n  whole content = #define DNS_DBITERATOR_FOREACH(rds)               \\\n")

See https://github.com/coccinelle/coccinelle/issues/398.

Merge branch 'mnowak/coccinelle-fix-impossible-warning' into 'main'

See merge request isc-projects/bind9!10557