diff options
| author | Vicent Martà <tanoku@gmail.com> | 2011-12-25 00:25:04 +0100 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2011-12-25 00:25:04 +0100 |
| commit | d16e4b2b88a0b504fe4bb2b56f3d36c81b515d89 (patch) | |
| tree | 81c47717ccb57443962b8debacbdcbf2d8b8f519 | |
| parent | fa51565625902291f278d41c9254f8ab38bd916d (diff) | |
| download | libgit2-d16e4b2b88a0b504fe4bb2b56f3d36c81b515d89.tar.gz | |
remotes: Remove unused variables
| -rw-r--r-- | src/transports/local.c | 1 | ||||
| -rw-r--r-- | tests-clay/network/remotelocal.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/local.c b/src/transports/local.c index c433339a7..2937da06d 100644 --- a/src/transports/local.c +++ b/src/transports/local.c @@ -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 */ diff --git a/tests-clay/network/remotelocal.c b/tests-clay/network/remotelocal.c index 7dad39a4b..b9003e7ca 100644 --- a/tests-clay/network/remotelocal.c +++ b/tests-clay/network/remotelocal.c @@ -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; |
