We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8df1cfc + d0c418c commit dad3c31Copy full SHA for dad3c31
1 file changed
src/submodule.c
@@ -401,7 +401,7 @@ static int submodules_from_index(git_strmap *map, git_index *idx, git_config *cf
401
static int submodules_from_head(git_strmap *map, git_tree *head, git_config *cfg)
402
{
403
int error;
404
- git_iterator *i;
+ git_iterator *i = NULL;
405
const git_index_entry *entry;
406
git_strmap *names = 0;
407
git_strmap_alloc(&names);
0 commit comments