summaryrefslogtreecommitdiff
path: root/src/reflog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflog.c')
-rw-r--r--src/reflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c
index e0fa7a060..c136987b1 100644
--- a/src/reflog.c
+++ b/src/reflog.c
@@ -41,7 +41,7 @@ static int reflog_write(const char *log_path, const char *oid_old,
{
int error;
git_buf log = GIT_BUF_INIT;
- git_filebuf fbuf;
+ git_filebuf fbuf = GIT_FILEBUF_INIT;
assert(log_path && oid_old && oid_new && committer);