]> git.99rst.org Git - git.git/commit
reftable/basics: introduce `REFTABLE_UNUSED` annotation
authorPatrick Steinhardt <redacted>
Tue, 18 Feb 2025 09:20:50 +0000 (10:20 +0100)
committerJunio C Hamano <redacted>
Tue, 18 Feb 2025 18:55:38 +0000 (10:55 -0800)
commitf93b2a04243ee1a95920ae02a9423accbe1c3719
tree16e2834f903866dbacd7d94a75c08e37cb5000d6
parentf8ed12dec459df9ea0d43ccacc93cb2c32702c0e
reftable/basics: introduce `REFTABLE_UNUSED` annotation

Introduce the `REFTABLE_UNUSED` annotation and replace all existing
users of `UNUSED` in the reftable library to use the new macro instead.

Note that we unconditionally define `MAYBE_UNUSED` in the exact same
way, so doing so unconditionally for `REFTABLE_UNUSED` should be fine,
too.

Suggested-by: Toon Claes <redacted>
Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
reftable/basics.h
reftable/blocksource.c
reftable/iter.c
reftable/record.c
reftable/writer.c
git clone https://git.99rst.org/PROJECT