Commit d93b0aa0d12c88b06ce4cd2294311177265c77b9

Edward Thomson 2019-06-15T21:47:40

win32: decorate unused parameters

diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 2829ada..43f2fb1 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -339,6 +339,8 @@ static int apply_credentials(
 {
 	int error = 0;
 
+	GIT_UNUSED(url);
+
 	/* If we have creds, just apply them */
 	if (creds && creds->credtype == GIT_CREDTYPE_USERPASS_PLAINTEXT)
 		error = apply_userpass_credentials(request, target, mechanisms, creds);
@@ -686,6 +688,10 @@ static void CALLBACK winhttp_status(
 {
 	DWORD status;
 
+	GIT_UNUSED(connection);
+	GIT_UNUSED(ctx);
+	GIT_UNUSED(info_len);
+
 	if (code != WINHTTP_CALLBACK_STATUS_SECURE_FAILURE)
 		return;