]> git.99rst.org Git - git.git/commit
compat: mark unused parameters in win32/mingw functions
authorJeff King <redacted>
Wed, 28 Aug 2024 04:00:16 +0000 (00:00 -0400)
committerJunio C Hamano <redacted>
Wed, 28 Aug 2024 16:51:18 +0000 (09:51 -0700)
commitb652382d761607c76258e2e91fa753dffe5c21dc
tree5cf6da87b6c972a7a114b3b691e042edea65435d
parent141491840d4efb0a24430eea6815dc8164786820
compat: mark unused parameters in win32/mingw functions

The compat/ directory contains many stub functions, wrappers, and so on
that have to conform to a specific interface, but don't necessarily need
to use all of their parameters. Let's mark them to avoid complaints from
-Wunused-parameter.

This was done mostly via guess-and-check with the Windows build in
GitHub CI. I also confirmed that the win+VS build is similarly happy.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/mingw.c
compat/mingw.h
compat/stub/procinfo.c
compat/win32/pthread.c
compat/win32/pthread.h
compat/win32/syslog.c
compat/win32mmap.c
compat/winansi.c
git clone https://git.99rst.org/PROJECT