Fix an uninitialized variable

This commit is contained in:
Carlos Martín Nieto 2014-10-09 17:02:11 +02:00
parent 10cf4b26a0
commit eecc177272

View File

@ -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 error;
int error = -1;
size_t i;
git_vector refs, specs, *to_active;