diff options
author | Russell Belfer <rb@github.com> | 2012-11-10 02:01:44 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-11-10 02:01:44 +0400 |
commit | 757b406504021b3a73e52ce9f95d590d65c7dce5 (patch) | |
tree | 8603837628030ae68b3bbc054f9bcf55eae53f43 /tests-clar/clone | |
parent | 0f3def715dc9af442f5f025c50a041c6319df1e8 (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.c | 2 |
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; |