Skip to content

checkpatch marks possible repeated words as errors #45

@rtolkacheva

Description

@rtolkacheva

https://github.com/tarantool/tarantool/actions/runs/3189947115/jobs/5205860251#logs

ERROR:REPEATED_WORD: Possible repeated word: 'Select'
#159: FILE: test/fuzz/sql_fuzzer/sql_query.proto:7:
+        Select select = 1;

ERROR:REPEATED_WORD: Possible repeated word: 'Limit'
#181: FILE: test/fuzz/sql_fuzzer/sql_query.proto:29:
+    optional Limit limit = 10;

ERROR:REPEATED_WORD: Possible repeated word: 'Engine'
#328: FILE: test/fuzz/sql_fuzzer/sql_query.proto:176:
+    optional Engine engine = 5;

ERROR:REPEATED_WORD: Possible repeated word: 'Term'
#511: FILE: test/fuzz/sql_fuzzer/sql_query.proto:359:
+    required Term term = 2;

There repeated words are not mistaken or copied by an accident, protobuf's message name and field name are the same by choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions