builtin/log.c: drop unused "numbered" parameter from make_cover_letter()
authorJunio C Hamano <gitster@pobox.com>
Sat, 22 Dec 2012 05:16:51 +0000 (21:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 Dec 2012 05:16:51 +0000 (21:16 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
index 09cf43e6d40efc13f6b7bda2094fca5bdc1bbc87..28d906300772607cdd70638fa9a9086c3ce8d5b9 100644 (file)
@@ -768,7 +768,7 @@ static void add_branch_description(struct strbuf *buf, const char *branch_name)
 }
 
 static void make_cover_letter(struct rev_info *rev, int use_stdout,
-                             int numbered, int numbered_files,
+                             int numbered_files,
                              struct commit *origin,
                              int nr, struct commit **list, struct commit *head,
                              const char *branch_name,
@@ -1343,7 +1343,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
        if (cover_letter) {
                if (thread)
                        gen_message_id(&rev, "cover");
-               make_cover_letter(&rev, use_stdout, numbered, numbered_files,
+               make_cover_letter(&rev, use_stdout, numbered_files,
                                  origin, nr, list, head, branch_name, quiet);
                total++;
                start_number--;