summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-15 21:47:40 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-24 17:27:23 +0100
commitd93b0aa0d12c88b06ce4cd2294311177265c77b9 (patch)
treef0941c741b2e5e5009958ad78ee63158e22e582f
parent54a60ced5c456f46dcc2fcadbe286e94ab067861 (diff)
downloadlibgit2-d93b0aa0d12c88b06ce4cd2294311177265c77b9.tar.gz
win32: decorate unused parameters
-rw-r--r--src/transports/winhttp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 2829ada96..43f2fb198 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;