Skip to content

Commit

Permalink
Merge pull request #853 from libgit2/cmn/parse-commit-return
Browse files Browse the repository at this point in the history
commit: parse_commit_options returns an int
  • Loading branch information
carlosmn authored Aug 21, 2020
2 parents c162d15 + b7b87eb commit d928ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/rugged/rugged_commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ struct commit_data {
* Note that parents may be set even when the function errors, so make
* sure to free this data.
*/
static VALUE parse_commit_options(struct commit_data *out, git_repository *repo, VALUE rb_data)
static int parse_commit_options(struct commit_data *out, git_repository *repo, VALUE rb_data)
{
VALUE rb_message, rb_tree, rb_parents, rb_ref;
int error = 0, parent_count, i;
Expand Down

0 comments on commit d928ca6

Please sign in to comment.