aboutsummaryrefslogtreecommitdiff
path: root/bp.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-09-23 13:42:46 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-09-23 13:42:46 -0700
commite938ecbdcce8d56d2cf78e57879e364f990b99be (patch)
tree18579b8060fd2295238cbbf8d4f25781f41ba377 /bp.c
parentcf99abb852536867169168d2c7fabf158099dfd9 (diff)
parent744a92756200052837e25f4f7758175241528536 (diff)
Merge branch 'master' into setjmp
Diffstat (limited to 'bp.c')
-rw-r--r--bp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bp.c b/bp.c
index 078afff..6480f97 100644
--- a/bp.c
+++ b/bp.c
@@ -240,9 +240,6 @@ static int print_matches(FILE *out, def_t *defs, file_t *f, pat_t *pattern)
};
for (match_t *m = NULL; next_match(&m, defs, f, pattern, options.skip, options.ignorecase); ) {
- if (print_errors(f, m) > 0)
- exit(EXIT_FAILURE);
-
if (++matches == 1 && options.print_filenames) {
if (printed_filenames++ > 0) printf("\n");
fprint_filename(out, f->filename);