Skip to content

Commit 07a54dc

Browse files
peffgitster
authored andcommitted
blame: drop some unused function parameters
These unused parameters were introduced recently as part of the br/blame-ignore topic. I assume they are not indicative of bugs, but are just leftovers from the development process (they were introduced by the series but not used in any of its iterations). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f0cbe74 commit 07a54dc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

blame.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ static int *fuzzy_find_matching_lines(struct blame_origin *parent,
981981
return result;
982982
}
983983

984-
static void fill_origin_fingerprints(struct blame_origin *o, mmfile_t *file)
984+
static void fill_origin_fingerprints(struct blame_origin *o)
985985
{
986986
int *line_starts;
987987

@@ -1035,7 +1035,7 @@ static void fill_origin_blob(struct diff_options *opt,
10351035
else
10361036
*file = o->file;
10371037
if (fill_fingerprints)
1038-
fill_origin_fingerprints(o, file);
1038+
fill_origin_fingerprints(o);
10391039
}
10401040

10411041
static void drop_origin_blob(struct blame_origin *o)
@@ -1653,7 +1653,6 @@ static void guess_line_blames(struct blame_origin *parent,
16531653
*/
16541654
static void ignore_blame_entry(struct blame_entry *e,
16551655
struct blame_origin *parent,
1656-
struct blame_origin *target,
16571656
struct blame_entry **diffp,
16581657
struct blame_entry **ignoredp,
16591658
struct blame_line_tracker *line_blames)
@@ -1802,7 +1801,7 @@ static void blame_chunk(struct blame_entry ***dstq, struct blame_entry ***srcq,
18021801
samep = n;
18031802
}
18041803
if (ignore_diffs) {
1805-
ignore_blame_entry(e, parent, target, &diffp, &ignoredp,
1804+
ignore_blame_entry(e, parent, &diffp, &ignoredp,
18061805
line_blames + e->s_lno - tlno);
18071806
} else {
18081807
e->next = diffp;

0 commit comments

Comments
 (0)