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:
@ -573,9 +573,9 @@ static void print_status(unsigned int flags, char state, const char *path,
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
static int handle_submodule_head_ref(const char *UNUSED(refname),
|
||||
static int handle_submodule_head_ref(const char *refname UNUSED,
|
||||
const struct object_id *oid,
|
||||
int UNUSED(flags),
|
||||
int flags UNUSED,
|
||||
void *cb_data)
|
||||
{
|
||||
struct object_id *output = cb_data;
|
||||
|
||||
Reference in New Issue
Block a user