Unverified Commit 7a0238b1 by Patrick Steinhardt Committed by GitHub

Merge pull request #5084 from eaigner/garbage-value

repository: fix garbage return value
parents 2f7b6ad5 9cc904da
......@@ -2216,7 +2216,7 @@ int git_repository_foreach_head(git_repository *repo,
{
git_strarray worktrees = GIT_VECTOR_INIT;
git_buf path = GIT_BUF_INIT;
int error;
int error = 0;
size_t i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment