Initialize local variable

This commit is contained in:
Linquize 2014-05-13 21:08:50 +08:00
parent 03fcef1889
commit b3f27c4368

View File

@ -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;