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)"
This commit is contained in:
4
notes.c
4
notes.c
@ -925,8 +925,8 @@ out:
|
||||
}
|
||||
|
||||
static int string_list_add_one_ref(const char *refname,
|
||||
const struct object_id *UNUSED(oid),
|
||||
int UNUSED(flag), void *cb)
|
||||
const struct object_id *oid UNUSED,
|
||||
int flag UNUSED, void *cb)
|
||||
{
|
||||
struct string_list *refs = cb;
|
||||
if (!unsorted_string_list_has_string(refs, refname))
|
||||
|
Reference in New Issue
Block a user