From c0ffe518539073cac6b54249fa11d380ba85049c Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 23 Mar 2011 15:44:52 +0200 Subject: Do not return on `void` helper methods MSVC doesn't swallow that. --- include/git2/commit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/git2/commit.h') diff --git a/include/git2/commit.h b/include/git2/commit.h index d497324c6..c09b34843 100644 --- a/include/git2/commit.h +++ b/include/git2/commit.h @@ -67,7 +67,7 @@ GIT_INLINE(int) git_commit_lookup(git_commit **commit, git_repository *repo, con GIT_INLINE(void) git_commit_close(git_commit *commit) { - return git_object_close((git_object *) commit); + git_object_close((git_object *) commit); } /** -- cgit v1.2.1