Commit eecc1772 by Carlos Martín Nieto

Fix an uninitialized variable

parent 10cf4b26
...@@ -821,7 +821,7 @@ static int ls_to_vector(git_vector *out, git_remote *remote) ...@@ -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;
......
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