diff options
author | Michael Schubert <schu@schu.io> | 2012-12-22 16:29:59 +0100 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-12-22 16:29:59 +0100 |
commit | 7382551ff75fd7890752d3c64de85dc99115449e (patch) | |
tree | 0d32e2c1273a382006ec0817e3c9313cf344daec /src | |
parent | 2052e3c0715f0d5f5a222bb8fb316fc0da7e8be9 (diff) | |
download | libgit2-7382551ff75fd7890752d3c64de85dc99115449e.tar.gz |
Fix -Wmaybe-uninitialized warning
Diffstat (limited to 'src')
-rw-r--r-- | src/fetchhead.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetchhead.c b/src/fetchhead.c index 14878feb5..a76ef2f50 100644 --- a/src/fetchhead.c +++ b/src/fetchhead.c @@ -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; |