Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2013-10-02 23:10:39 +0400
committerJameson Miller <jamill@microsoft.com>2013-10-02 23:19:40 +0400
commit83db7e09e2e9e81668704c21be26c917dea18fbd (patch)
treef11a47ac19d24d8da59601054f5a1f5188741216 /tests-clar/online/push.c
parent5b1882254551cc9031d919c2f31c05153a665762 (diff)
Fix broken online push tests
Diffstat (limited to 'tests-clar/online/push.c')
-rw-r--r--tests-clar/online/push.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests-clar/online/push.c b/tests-clar/online/push.c
index dabeb2c87..cef39595c 100644
--- a/tests-clar/online/push.c
+++ b/tests-clar/online/push.c
@@ -20,7 +20,6 @@ static char *_remote_pass;
static int cred_acquire_cb(git_cred **, const char *, const char *, unsigned int, void *);
static git_remote *_remote;
-static bool _cred_acquire_called;
static record_callbacks_data _record_cbs_data = {{ 0 }};
static git_remote_callbacks _record_cbs = RECORD_CALLBACKS_INIT(&_record_cbs_data);
@@ -47,8 +46,6 @@ static int cred_acquire_cb(
GIT_UNUSED(url);
GIT_UNUSED(user_from_url);
- *((bool*)payload) = true;
-
if (GIT_CREDTYPE_SSH_PUBLICKEY & allowed_types)
return git_cred_ssh_keyfile_passphrase_new(cred, _remote_user, _remote_ssh_pubkey, _remote_ssh_key, _remote_ssh_passphrase);
@@ -251,7 +248,6 @@ void test_online_push__initialize(void)
git_vector delete_specs = GIT_VECTOR_INIT;
size_t i;
char *curr_del_spec;
- _cred_acquire_called = false;
_repo = cl_git_sandbox_init("push_src");