Commit d93b0aa0 by Edward Thomson

win32: decorate unused parameters

parent 54a60ced
...@@ -339,6 +339,8 @@ static int apply_credentials( ...@@ -339,6 +339,8 @@ static int apply_credentials(
{ {
int error = 0; int error = 0;
GIT_UNUSED(url);
/* If we have creds, just apply them */ /* If we have creds, just apply them */
if (creds && creds->credtype == GIT_CREDTYPE_USERPASS_PLAINTEXT) if (creds && creds->credtype == GIT_CREDTYPE_USERPASS_PLAINTEXT)
error = apply_userpass_credentials(request, target, mechanisms, creds); error = apply_userpass_credentials(request, target, mechanisms, creds);
...@@ -686,6 +688,10 @@ static void CALLBACK winhttp_status( ...@@ -686,6 +688,10 @@ static void CALLBACK winhttp_status(
{ {
DWORD status; DWORD status;
GIT_UNUSED(connection);
GIT_UNUSED(ctx);
GIT_UNUSED(info_len);
if (code != WINHTTP_CALLBACK_STATUS_SECURE_FAILURE) if (code != WINHTTP_CALLBACK_STATUS_SECURE_FAILURE)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment