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:

committed by
Junio C Hamano

parent
df351c6e67
commit
c5c33504c9
@ -376,7 +376,7 @@ static int checkout_paths(const struct checkout_opts *opts,
|
||||
ps_matched,
|
||||
opts);
|
||||
|
||||
if (report_path_error(ps_matched, &opts->pathspec, opts->prefix)) {
|
||||
if (report_path_error(ps_matched, &opts->pathspec)) {
|
||||
free(ps_matched);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user