mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-03 05:11:40 +00:00
Fix -Wmaybe-uninitialized warning
This commit is contained in:
parent
2052e3c071
commit
7382551ff7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user