diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-07-18 13:31:56 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-07-18 13:31:57 -0700 |
| commit | 7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf (patch) | |
| tree | 5f4b1b70e19b990092cecc676422042ad12e642a /shared.mak | |
| parent | Merge branch 'gc/submodule-use-super-prefix' (diff) | |
| parent | cocci: generalize "unused" rule to cover more than "strbuf" (diff) | |
| download | git-7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf.tar.gz git-7f8d098b1b1ca1e5b91b17d05b51bc5b7a7ad6bf.zip | |
Merge branch 'ab/cocci-unused'
Add Coccinelle rules to detect the pattern of initializing and then
finalizing a structure without using it in between at all, which
happens after code restructuring and the compilers fail to
recognize as an unused variable.
* ab/cocci-unused:
cocci: generalize "unused" rule to cover more than "strbuf"
cocci: add and apply a rule to find "unused" strbufs
cocci: have "coccicheck{,-pending}" depend on "coccicheck-test"
cocci: add a "coccicheck-test" target and test *.cocci rules
Makefile & .gitignore: ignore & clean "git.res", not "*.res"
Makefile: remove mandatory "spatch" arguments from SPATCH_FLAGS
Diffstat (limited to 'shared.mak')
| -rw-r--r-- | shared.mak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.mak b/shared.mak index 4330192e9c..33f43edbf9 100644 --- a/shared.mak +++ b/shared.mak @@ -70,6 +70,7 @@ ifndef V QUIET_HDR = @echo ' ' HDR $(<:hcc=h); QUIET_RC = @echo ' ' RC $@; QUIET_SPATCH = @echo ' ' SPATCH $<; + QUIET_SPATCH_T = @echo ' ' SPATCH TEST $(@:.build/%=%); ## Used in "Documentation/Makefile" QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@; |
