diff options
author | Jeff King <peff@peff.net> | 2024-08-28 06:09:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-28 19:09:56 +0200 |
commit | e49d2472d2320d370b34c7fcdde933660c47968b (patch) | |
tree | ea722feb1a322749a245b455c8a3edcca9eca747 /reftable | |
parent | reftable/generic: drop interface (diff) | |
download | git-e49d2472d2320d370b34c7fcdde933660c47968b.tar.xz git-e49d2472d2320d370b34c7fcdde933660c47968b.zip |
reftable: mark unused parameters in empty iterator functions
These unused parameters were marked in a68ec8683a (reftable: mark unused
parameters in virtual functions, 2024-08-17), but the functions were
moved to a new file in a parallel branch via f2406c81b9
(reftable/generic: move generic iterator code into iterator interface,
2024-08-22).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable')
-rw-r--r-- | reftable/iter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reftable/iter.c b/reftable/iter.c index 97a4642ed5..1d99fe4f7d 100644 --- a/reftable/iter.c +++ b/reftable/iter.c @@ -25,17 +25,17 @@ int iterator_next(struct reftable_iterator *it, struct reftable_record *rec) return it->ops->next(it->iter_arg, rec); } -static int empty_iterator_seek(void *arg, struct reftable_record *want) +static int empty_iterator_seek(void *arg UNUSED, struct reftable_record *want UNUSED) { return 0; } -static int empty_iterator_next(void *arg, struct reftable_record *rec) +static int empty_iterator_next(void *arg UNUSED, struct reftable_record *rec UNUSED) { return 1; } -static void empty_iterator_close(void *arg) +static void empty_iterator_close(void *arg UNUSED) { } |