Skip to content

Commit

Permalink
builtin/merge.c: drop a parameter that is never used
Browse files Browse the repository at this point in the history
Since the very beginning when we added the "renormalizing" parameter
to this function with 7610fa5 (merge-recursive --renormalize,
2010-08-05), nobody seems to have ever referenced it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Oct 24, 2014
1 parent eeff891 commit 08e3ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ static int finish_automerge(struct commit *head,
return 0;
}

static int suggest_conflicts(int renormalizing)
static int suggest_conflicts(void)
{
const char *filename;
FILE *fp;
Expand Down Expand Up @@ -1557,7 +1557,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
fprintf(stderr, _("Automatic merge went well; "
"stopped before committing as requested\n"));
else
ret = suggest_conflicts(option_renormalize);
ret = suggest_conflicts();

done:
free(branch_to_free);
Expand Down

0 comments on commit 08e3ce5

Please sign in to comment.