Merge branch 'ab/unused-annotation'
commitdd407f1c7c7cce148d7313537494d0bc049ccb0e
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Sep 2022 19:56:39 +0000 (14 12:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Sep 2022 19:56:39 +0000 (14 12:56 -0700)
tree960438c348acf300fca1f9e795b647df2d6f8e18
parenta6b42ec0c6e2ef492b0ed6d1f1123dc7e724154e
parent9ff7eb8c8882c477919acfe28a3d68bb58adf2ea
Merge branch 'ab/unused-annotation'

Undoes 'jk/unused-annotation' topic and redoes it to work around
Coccinelle rules misfiring false positives in unrelated codepaths.

* ab/unused-annotation:
  git-compat-util.h: use "deprecated" for UNUSED variables
  git-compat-util.h: use "UNUSED", not "UNUSED(var)"
31 files changed:
attr.c
builtin/bisect--helper.c
builtin/commit-graph.c
builtin/difftool.c
builtin/fast-export.c
builtin/fetch.c
builtin/gc.c
builtin/log.c
builtin/multi-pack-index.c
builtin/pack-objects.c
builtin/reflog.c
builtin/remote.c
builtin/rev-parse.c
builtin/stash.c
builtin/submodule--helper.c
commit-graph.c
diff.c
dir.c
environment.c
fetch-pack.c
git-compat-util.h
log-tree.c
notes.c
packfile.c
pretty.c
range-diff.c
refs.c
revision.c
sequencer.c
submodule.c
upload-pack.c