Commit 7382551f by Michael Schubert

Fix -Wmaybe-uninitialized warning

parent 2052e3c0
......@@ -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;
......
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