Fix -Wmaybe-uninitialized warning

This commit is contained in:
Michael Schubert 2012-12-22 16:29:59 +01:00
parent 2052e3c071
commit 7382551ff7

View File

@ -237,7 +237,7 @@ int git_repository_fetchhead_foreach(git_repository *repo,
const char *ref_name;
git_oid oid;
const char *remote_url;
unsigned int is_merge;
unsigned int is_merge = 0;
char *buffer, *line;
size_t line_num = 0;
int error = 0;