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:
@ -5254,7 +5254,7 @@ struct labels_entry {
|
||||
char label[FLEX_ARRAY];
|
||||
};
|
||||
|
||||
static int labels_cmp(const void *UNUSED(fndata),
|
||||
static int labels_cmp(const void *fndata UNUSED,
|
||||
const struct hashmap_entry *eptr,
|
||||
const struct hashmap_entry *entry_or_key, const void *key)
|
||||
{
|
||||
@ -6132,7 +6132,7 @@ struct subject2item_entry {
|
||||
char subject[FLEX_ARRAY];
|
||||
};
|
||||
|
||||
static int subject2item_cmp(const void *UNUSED(fndata),
|
||||
static int subject2item_cmp(const void *fndata UNUSED,
|
||||
const struct hashmap_entry *eptr,
|
||||
const struct hashmap_entry *entry_or_key,
|
||||
const void *key)
|
||||
|
Reference in New Issue
Block a user