diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-07-09 08:36:37 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-07-09 08:36:37 +0200 |
| commit | 38ce60f091c03ce3f7b1aa5fc2c4271b5a5a46ca (patch) | |
| tree | e8bc6afb704e04c737f6e527ae5703e54e933880 /src/reflog.c | |
| parent | 06c43821b94dcf9fa4f95f29c12f77d18a402690 (diff) | |
| download | libgit2-38ce60f091c03ce3f7b1aa5fc2c4271b5a5a46ca.tar.gz | |
Fix MSVC compilation warning
Diffstat (limited to 'src/reflog.c')
| -rw-r--r-- | src/reflog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c index df01199ff..ce88c101e 100644 --- a/src/reflog.c +++ b/src/reflog.c @@ -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) { - int error; + int error = GIT_SUCCESS; const char *ptr; git_reflog_entry *entry; |
