]> git.ipfire.org Git - thirdparty/git.git/commitdiff
trace2: mark unused config callback parameter
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:23 +0000 (19:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 00:56:25 +0000 (17:56 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trace2/tr2_sysenv.c

index f26ec95ab4d867a278e1aacbf337d6eef986355f..d3ecac27728efe8c06dd78f6e394d789d4c1bc7e 100644 (file)
@@ -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;