mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
Silence unused variables warnings
This commit is contained in:
parent
f59a34d2e6
commit
959a93e716
@ -482,6 +482,9 @@ static const char *repository_base(git_repository *repo)
|
|||||||
static bool can_link(const char *src, const char *dst, int link)
|
static bool can_link(const char *src, const char *dst, int link)
|
||||||
{
|
{
|
||||||
#ifdef GIT_WIN32
|
#ifdef GIT_WIN32
|
||||||
|
GIT_UNUSED(src);
|
||||||
|
GIT_UNUSED(dst);
|
||||||
|
GIT_UNUSED(link);
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@ -670,6 +670,7 @@ int git_transport_ssh_with_paths(git_transport **out, git_remote *owner, void *p
|
|||||||
return 0;
|
return 0;
|
||||||
#else
|
#else
|
||||||
GIT_UNUSED(owner);
|
GIT_UNUSED(owner);
|
||||||
|
GIT_UNUSED(payload);
|
||||||
|
|
||||||
assert(out);
|
assert(out);
|
||||||
*out = NULL;
|
*out = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user