summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-19 11:18:34 -0700
committerRussell Belfer <rb@github.com>2013-04-19 11:18:34 -0700
commit9d8f97c9bc81d8dd736348fbd18258879cdcf277 (patch)
treeb33583277e7d02b471619eda3232713dbf4c3a15 /src/index.c
parent743048f1e9d9c853ffac80093a4814a1ac7d9c62 (diff)
parent1af80a676613882b3e04e82874c6e7c8c14b5f49 (diff)
downloadlibgit2-9d8f97c9bc81d8dd736348fbd18258879cdcf277.tar.gz
Merge pull request #1479 from arrbee/iterator-for-directory
Add filesystem iterator variant
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index 6290ec4e8..2afd28158 100644
--- a/src/index.c
+++ b/src/index.c
@@ -1345,7 +1345,7 @@ static size_t read_extension(git_index *index, const char *buffer, size_t buffer
static int parse_index(git_index *index, const char *buffer, size_t buffer_size)
{
unsigned int i;
- struct index_header header;
+ struct index_header header = { 0 };
git_oid checksum_calculated, checksum_expected;
#define seek_forward(_increase) { \