diff options
| author | Vicent Marti <vicent@github.com> | 2014-05-14 16:05:23 +0200 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-05-14 16:05:23 +0200 |
| commit | 7851e595ad832b532e6edc6ac5fb0e43db24fc6a (patch) | |
| tree | 93e4ef77839458833141384a285d5a563075a7f7 | |
| parent | 2bcc1afd103223fb6cc5f8f538fbf108258f7907 (diff) | |
| parent | b3f27c43685c3fb492b03ccca7c57a0b5db217ab (diff) | |
| download | libgit2-7851e595ad832b532e6edc6ac5fb0e43db24fc6a.tar.gz | |
Merge pull request #2351 from linquize/init-var
Initialize local variable
| -rw-r--r-- | src/indexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexer.c b/src/indexer.c index 3c8415c7c..68496ceea 100644 --- a/src/indexer.c +++ b/src/indexer.c @@ -703,7 +703,7 @@ static int fix_thin_pack(git_indexer *idx, git_transfer_progress *stats) size_t size; git_otype type; git_mwindow *w = NULL; - git_off_t curpos; + git_off_t curpos = 0; unsigned char *base_info; unsigned int left = 0; git_oid base; |
