Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2012-12-22 19:29:59 +0400
committerMichael Schubert <schu@schu.io>2012-12-22 19:29:59 +0400
commit7382551ff75fd7890752d3c64de85dc99115449e (patch)
tree0d32e2c1273a382006ec0817e3c9313cf344daec /src/fetchhead.c
parent2052e3c0715f0d5f5a222bb8fb316fc0da7e8be9 (diff)
Fix -Wmaybe-uninitialized warning
Diffstat (limited to 'src/fetchhead.c')
-rw-r--r--src/fetchhead.c2
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;