aboutsummaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/print.c b/print.c
index 1a3f11b..b5eb219 100644
--- a/print.c
+++ b/print.c
@@ -110,10 +110,6 @@ static void _print_match(FILE *out, printer_t *pr, match_t *m)
{
pr->pos = m->start;
if (m->pat->type == BP_REPLACE) {
- if (m->skip_replacement) {
- _print_match(out, pr, m->children[0]);
- return;
- }
size_t line = get_line_number(pr->file, m->start);
size_t line_end = get_line_number(pr->file, m->end);