report_path_error(): drop unused prefix parameter

This hasn't been used since 17ddc66e70 (convert report_path_error to
take struct pathspec, 2013-07-14), as the names in the struct will have
already been prefixed when they were parsed.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King
2019-03-20 04:15:48 -04:00
committed by Junio C Hamano
parent df351c6e67
commit c5c33504c9
6 changed files with 8 additions and 9 deletions

3
dir.c
View File

@ -502,8 +502,7 @@ int submodule_path_match(const struct index_state *istate,
}
int report_path_error(const char *ps_matched,
const struct pathspec *pathspec,
const char *prefix)
const struct pathspec *pathspec)
{
/*
* Make sure all pathspec matched; otherwise it is an error.