summaryrefslogtreecommitdiff
path: root/tests-clar/repo
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-18 14:35:13 -0700
committerRussell Belfer <rb@github.com>2013-04-18 14:59:25 -0700
commit2aee1aa4165583cf77815df404d87818d53b72dc (patch)
tree37142098df0c60846472dcee9efdb682758046e5 /tests-clar/repo
parent627d590819efa7f43b605ce1a22278c0c6b42516 (diff)
downloadlibgit2-2aee1aa4165583cf77815df404d87818d53b72dc.tar.gz
Fix uninitialized var warnings
Diffstat (limited to 'tests-clar/repo')
-rw-r--r--tests-clar/repo/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/repo/iterator.c b/tests-clar/repo/iterator.c
index 2e53c48d7..9118dd17e 100644
--- a/tests-clar/repo/iterator.c
+++ b/tests-clar/repo/iterator.c
@@ -422,7 +422,7 @@ static void build_test_tree(
git_treebuilder *builder;
const char *scan = fmt, *next;
char type, delimiter;
- git_filemode_t mode;
+ git_filemode_t mode = GIT_FILEMODE_BLOB;
git_buf name = GIT_BUF_INIT;
va_list arglist;