mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
midx: avoid uninitialized variable
This commit is contained in:
@@ -460,7 +460,7 @@ int git_midx_foreach_entry(
|
||||
{
|
||||
git_oid oid;
|
||||
size_t oid_size, i;
|
||||
int error;
|
||||
int error = 0;
|
||||
|
||||
GIT_ASSERT_ARG(idx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user