mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 18:22:16 +00:00
Fix an uninitialized variable
This commit is contained in:
parent
10cf4b26a0
commit
eecc177272
@ -821,7 +821,7 @@ static int ls_to_vector(git_vector *out, git_remote *remote)
|
|||||||
|
|
||||||
int git_remote_download(git_remote *remote, const git_strarray *refspecs)
|
int git_remote_download(git_remote *remote, const git_strarray *refspecs)
|
||||||
{
|
{
|
||||||
int error;
|
int error = -1;
|
||||||
size_t i;
|
size_t i;
|
||||||
git_vector refs, specs, *to_active;
|
git_vector refs, specs, *to_active;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user