Skip to content

Commit d6f57b9

Browse files
committed
submodule: git submodule dup guard statement has been fixed.
1 parent 49f9941 commit d6f57b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ static void submodule_release(git_submodule *sm)
18571857
git_submodule* git_submodule_dup(git_submodule *sm)
18581858
{
18591859
if (!sm)
1860-
return;
1860+
return NULL;
18611861
GIT_REFCOUNT_INC(sm);
18621862
return sm;
18631863
}

0 commit comments

Comments
 (0)