diff options
author | Jeff King <peff@peff.net> | 2022-10-18 04:05:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-18 07:24:03 +0300 |
commit | 808e91956d1db707643c7f68c2b8fcc6f38a2d80 (patch) | |
tree | 01315b13285827c756eb12c41608d220c7e36d80 /object-file.c | |
parent | 827f8305c4d5a0300c669dc57cc2920537bba757 (diff) |
mark unused parameters in trivial compat functions
When a platform feature isn't available or in use, we sometimes
conditionally compile empty or trivial functions to turn these into
noops. We need to annotate their parameters so that -Wunused-parameters
won't complain about them.
Note that there are many more of these in compat/mingw.h, but we'll
leave them for now, as there's some trickery required to get the UNUSED
macro available there.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
0 files changed, 0 insertions, 0 deletions