builtin/merge.c: drop a parameter that is never used
authorJunio C Hamano <gitster@pobox.com>
Fri, 24 Oct 2014 18:27:22 +0000 (11:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Oct 2014 18:28:30 +0000 (11:28 -0700)
Since the very beginning when we added the "renormalizing" parameter
to this function with 7610fa57 (merge-recursive --renormalize,
2010-08-05), nobody seems to have ever referenced it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge.c
index 41fb66dec2c2fd9645a72c28c362067fb3bcc16c..f6894c7a918df4802ff29801e7384a9974fa2aea 100644 (file)
@@ -884,7 +884,7 @@ static int finish_automerge(struct commit *head,
        return 0;
 }
 
        return 0;
 }
 
-static int suggest_conflicts(int renormalizing)
+static int suggest_conflicts(void)
 {
        const char *filename;
        FILE *fp;
 {
        const char *filename;
        FILE *fp;
@@ -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
                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);
 
 done:
        free(branch_to_free);