summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clone.c3
-rw-r--r--src/transports/ssh.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/clone.c b/src/clone.c
index 8f0284ae6..a80b77241 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -482,6 +482,9 @@ static const char *repository_base(git_repository *repo)
static bool can_link(const char *src, const char *dst, int link)
{
#ifdef GIT_WIN32
+ GIT_UNUSED(src);
+ GIT_UNUSED(dst);
+ GIT_UNUSED(link);
return false;
#else
diff --git a/src/transports/ssh.c b/src/transports/ssh.c
index f84ea4dec..85f620013 100644
--- a/src/transports/ssh.c
+++ b/src/transports/ssh.c
@@ -670,6 +670,7 @@ int git_transport_ssh_with_paths(git_transport **out, git_remote *owner, void *p
return 0;
#else
GIT_UNUSED(owner);
+ GIT_UNUSED(payload);
assert(out);
*out = NULL;