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:
@ -56,8 +56,8 @@ struct worktree_reflogs {
|
||||
struct string_list reflogs;
|
||||
};
|
||||
|
||||
static int collect_reflog(const char *ref, const struct object_id *UNUSED(oid),
|
||||
int UNUSED(flags), void *cb_data)
|
||||
static int collect_reflog(const char *ref, const struct object_id *oid UNUSED,
|
||||
int flags UNUSED, void *cb_data)
|
||||
{
|
||||
struct worktree_reflogs *cb = cb_data;
|
||||
struct worktree *worktree = cb->worktree;
|
||||
|
Reference in New Issue
Block a user