Skip to content

Commit d93b0aa

Browse files
committed
win32: decorate unused parameters
1 parent 54a60ce commit d93b0aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/transports/winhttp.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ static int apply_credentials(
339339
{
340340
int error = 0;
341341

342+
GIT_UNUSED(url);
343+
342344
/* If we have creds, just apply them */
343345
if (creds && creds->credtype == GIT_CREDTYPE_USERPASS_PLAINTEXT)
344346
error = apply_userpass_credentials(request, target, mechanisms, creds);
@@ -686,6 +688,10 @@ static void CALLBACK winhttp_status(
686688
{
687689
DWORD status;
688690

691+
GIT_UNUSED(connection);
692+
GIT_UNUSED(ctx);
693+
GIT_UNUSED(info_len);
694+
689695
if (code != WINHTTP_CALLBACK_STATUS_SECURE_FAILURE)
690696
return;
691697

0 commit comments

Comments
 (0)