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:
authorRussell Belfer <rb@github.com>2012-11-10 02:01:44 +0400
committerRussell Belfer <rb@github.com>2012-11-10 02:01:44 +0400
commit757b406504021b3a73e52ce9f95d590d65c7dce5 (patch)
tree8603837628030ae68b3bbc054f9bcf55eae53f43 /tests-clar/clone
parent0f3def715dc9af442f5f025c50a041c6319df1e8 (diff)
Fix warnings and valgrind issues
This fixes some various warnings that showed up in Travis and a couple uses of uninitialized memory and one memory leak.
Diffstat (limited to 'tests-clar/clone')
-rw-r--r--tests-clar/clone/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/clone/network.c b/tests-clar/clone/network.c
index 68fa8eb6b..1304f7728 100644
--- a/tests-clar/clone/network.c
+++ b/tests-clar/clone/network.c
@@ -113,7 +113,7 @@ void test_clone_network__can_checkout_a_cloned_repo(void)
bool checkout_progress_cb_was_called = false,
fetch_progress_cb_was_called = false;
- opts.checkout_strategy = GIT_CHECKOUT_UPDATE_UNMODIFIED;
+ opts.checkout_strategy = GIT_CHECKOUT_SAFE;
opts.progress_cb = &checkout_progress;
opts.progress_payload = &checkout_progress_cb_was_called;