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:
@ -698,8 +698,8 @@ static int show_tag_object(const struct object_id *oid, struct rev_info *rev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int show_tree_object(const struct object_id *UNUSED(oid),
|
||||
struct strbuf *UNUSED(base),
|
||||
static int show_tree_object(const struct object_id *oid UNUSED,
|
||||
struct strbuf *base UNUSED,
|
||||
const char *pathname, unsigned mode,
|
||||
void *context)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user