Commit dad3c319 by Edward Thomson Committed by GitHub

Merge pull request #4095 from mplough/master

Fix uninitialized variable warning
parents 8df1cfc9 d0c418c0
...@@ -401,7 +401,7 @@ done: ...@@ -401,7 +401,7 @@ done:
static int submodules_from_head(git_strmap *map, git_tree *head, git_config *cfg) static int submodules_from_head(git_strmap *map, git_tree *head, git_config *cfg)
{ {
int error; int error;
git_iterator *i; git_iterator *i = NULL;
const git_index_entry *entry; const git_index_entry *entry;
git_strmap *names = 0; git_strmap *names = 0;
git_strmap_alloc(&names); git_strmap_alloc(&names);
......
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