mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-18 18:18:00 -05:00
Mark ForEachMacros as iterator names
After f10f5572ac 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.
This commit is contained in:
parent
8a7c95e760
commit
0569f4a559
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
@depends on !(file in "util/models.c") && !(file in "lib/dns/sdlz.c")@
|
||||
iterator name DNS_DBITERATOR_FOREACH, DNS_RDATASET_FOREACH, DNS_RDATASETITER_FOREACH;
|
||||
@@
|
||||
|
||||
- unsigned
|
||||
|
|
|
|||
Loading…
Reference in a new issue