rewrite_parents(): mark unused callback parameter
The rewrite_parents() function takes a callback, but not every callback needs the "rev" parameter. Mark the unused one so -Wunused-parameter will be happy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
65daa9ba1c
commit
c764e28060
|
@ -1281,7 +1281,8 @@ int line_log_process_ranges_arbitrary_commit(struct rev_info *rev, struct commit
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum rewrite_result line_log_rewrite_one(struct rev_info *rev, struct commit **pp)
|
static enum rewrite_result line_log_rewrite_one(struct rev_info *rev UNUSED,
|
||||||
|
struct commit **pp)
|
||||||
{
|
{
|
||||||
for (;;) {
|
for (;;) {
|
||||||
struct commit *p = *pp;
|
struct commit *p = *pp;
|
||||||
|
|
Loading…
Reference in New Issue