summaryrefslogtreecommitdiff
path: root/tests-clar/network/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/network/fetch.c')
-rw-r--r--tests-clar/network/fetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests-clar/network/fetch.c b/tests-clar/network/fetch.c
index c3fb15eb9..74e062884 100644
--- a/tests-clar/network/fetch.c
+++ b/tests-clar/network/fetch.c
@@ -38,7 +38,6 @@ static void progress(const git_transfer_progress *stats, void *payload)
static void do_fetch(const char *url, int flag, int n)
{
git_remote *remote;
- git_off_t bytes;
git_remote_callbacks callbacks;
bool progress_was_called = false;
@@ -50,7 +49,7 @@ static void do_fetch(const char *url, int flag, int n)
git_remote_set_callbacks(remote, &callbacks);
git_remote_set_autotag(remote, flag);
cl_git_pass(git_remote_connect(remote, GIT_DIR_FETCH));
- cl_git_pass(git_remote_download(remote, &bytes, progress, &progress_was_called));
+ cl_git_pass(git_remote_download(remote, progress, &progress_was_called));
git_remote_disconnect(remote);
cl_git_pass(git_remote_update_tips(remote));
cl_assert_equal_i(counter, n);