Silence unused variables warnings

This commit is contained in:
Jacques Germishuys 2014-07-13 11:50:49 +02:00
parent f59a34d2e6
commit 959a93e716
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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;