Message ID | 20240828035758.GB3999193@coredump.intra.peff.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 8c90b41f0abcaf731527d2000b0bba04f07f4504 |
Headers | show |
Series | unused parameters: the final countdown | expand |
diff --git a/t/unit-tests/t-reftable-readwrite.c b/t/unit-tests/t-reftable-readwrite.c index 1eae36cc60..178296891c 100644 --- a/t/unit-tests/t-reftable-readwrite.c +++ b/t/unit-tests/t-reftable-readwrite.c @@ -26,7 +26,7 @@ static ssize_t strbuf_add_void(void *b, const void *data, size_t sz) return sz; } -static int noop_flush(void *arg) +static int noop_flush(void *arg UNUSED) { return 0; }
This spot was originally marked in in 4695c3f3a9 (reftable: mark unused parameters in virtual functions, 2024-08-17), but was copied in 5b539a5361 (t: move reftable/readwrite_test.c to the unit testing framework, 2024-08-13). Signed-off-by: Jeff King <peff@peff.net> --- t/unit-tests/t-reftable-readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)