Fix MSVC compilation warning

This commit is contained in:
nulltoken 2011-07-09 08:36:37 +02:00
parent 06c43821b9
commit 38ce60f091

View File

@ -105,7 +105,7 @@ static int reflog_write(git_repository *repo, const char *ref_name,
static int reflog_parse(git_reflog *log, const char *buf, size_t buf_size) static int reflog_parse(git_reflog *log, const char *buf, size_t buf_size)
{ {
int error; int error = GIT_SUCCESS;
const char *ptr; const char *ptr;
git_reflog_entry *entry; git_reflog_entry *entry;