From: Eric Pouech <epouech@codeweavers.com> Avoids error when building some library using unused-arg warning, and -Werror. Signed-off-by: Eric Pouech <epouech@codeweavers.com> --- include/ws2tcpip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h index f6f5d4dd886..bf78b9d0e55 100644 --- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -149,6 +149,7 @@ static inline char *gai_strerrorA(int errcode) /* FIXME: should format message from system, ignoring inserts in neutral * language */ + UNREFERENCED_PARAMETER(errcode); buffer[0] = '\0'; return buffer; @@ -160,6 +161,7 @@ static inline WCHAR *gai_strerrorW(int errcode) /* FIXME: should format message from system, ignoring inserts in neutral * language */ + UNREFERENCED_PARAMETER(errcode); buffer[0] = '\0'; return buffer; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10132