Commit 959a93e716ad76430546418edcb66ea2ee0cad52

Jacques Germishuys 2014-07-13T11:50:49

Silence unused variables warnings

diff --git a/src/clone.c b/src/clone.c
index 8f0284a..a80b772 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 f84ea4d..85f6200 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;