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/stash
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/stash')
-rw-r--r--tests-clar/stash/stash_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests-clar/stash/stash_helpers.c b/tests-clar/stash/stash_helpers.c
index 000a0f1a9..86a741853 100644
--- a/tests-clar/stash/stash_helpers.c
+++ b/tests-clar/stash/stash_helpers.c
@@ -16,6 +16,7 @@ void commit_staged_files(
cl_git_pass(git_index_write_tree(&tree_oid, index));
cl_git_pass(git_tree_lookup(&tree, repo, &tree_oid));
+
cl_git_pass(git_commit_create_v(
commit_oid,
repo,