Merge pull request #2991 from sba1/fix-uninitialized-data-access-remote-update-tips

Initialize refs vector in git_remote_update_tips().
This commit is contained in:
Edward Thomson 2015-03-17 18:35:28 -04:00
commit f0593a6b52

View File

@ -1458,7 +1458,7 @@ int git_remote_update_tips(
const char *reflog_message) const char *reflog_message)
{ {
git_refspec *spec, tagspec; git_refspec *spec, tagspec;
git_vector refs; git_vector refs = GIT_VECTOR_INIT;
int error; int error;
size_t i; size_t i;