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:
@ -638,12 +638,12 @@ cleanup:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int reject_reflog_ent(struct object_id *UNUSED(ooid),
|
||||
struct object_id *UNUSED(noid),
|
||||
const char *UNUSED(email),
|
||||
timestamp_t UNUSED(timestamp),
|
||||
int UNUSED(tz), const char *UNUSED(message),
|
||||
void *UNUSED(cb_data))
|
||||
static int reject_reflog_ent(struct object_id *ooid UNUSED,
|
||||
struct object_id *noid UNUSED,
|
||||
const char *email UNUSED,
|
||||
timestamp_t timestamp UNUSED,
|
||||
int tz UNUSED, const char *message UNUSED,
|
||||
void *cb_data UNUSED)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user