mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 08:20:14 +00:00
remotes: Remove unused variables
This commit is contained in:
parent
fa51565625
commit
d16e4b2b88
@ -159,7 +159,6 @@ static int local_connect(git_transport *transport, int GIT_UNUSED(direction))
|
||||
int error;
|
||||
transport_local *t = (transport_local *) transport;
|
||||
const char *path;
|
||||
const char file_prefix[] = "file://";
|
||||
GIT_UNUSED_ARG(direction);
|
||||
|
||||
/* The repo layer doesn't want the prefix */
|
||||
|
@ -56,6 +56,7 @@ static int count_ref__cb(git_remote_head *head, void *payload)
|
||||
{
|
||||
int *count = (int *)payload;
|
||||
|
||||
(void)head;
|
||||
(*count)++;
|
||||
|
||||
return GIT_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user