report_path_error(): drop unused prefix parameter
[gitweb.git] / builtin / checkout.c
index 0e6037b2968f326ca2781fa141d74683e52c983c..72f7110fd80a38431734b8996a9b2f1f6c7887a0 100644 (file)
@@ -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;
        }