Message ID | 20230828214754.GJ3831137@coredump.intra.peff.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 4b8dd424d8842685edf39fb7b8b173bae23817a4 |
Headers | show |
Series | YAUPS: Yet Another Unused Parameter Series | expand |
diff --git a/trace2/tr2_sysenv.c b/trace2/tr2_sysenv.c index f26ec95ab4..d3ecac2772 100644 --- a/trace2/tr2_sysenv.c +++ b/trace2/tr2_sysenv.c @@ -58,7 +58,8 @@ static struct tr2_sysenv_entry tr2_sysenv_settings[] = { /* clang-format on */ static int tr2_sysenv_cb(const char *key, const char *value, - const struct config_context *ctx UNUSED, void *d) + const struct config_context *ctx UNUSED, + void *d UNUSED) { int k;
This should have been part of 783a86c142 (config: mark unused callback parameters, 2022-08-19), but was missed in that commit. Signed-off-by: Jeff King <peff@peff.net> --- trace2/tr2_sysenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)