diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:23 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:23 -0700 |
| commit | 744a92756200052837e25f4f7758175241528536 (patch) | |
| tree | 658a04ebc9aa902099febd36a9060d95094fcda3 /match.c | |
| parent | 55ff8ec6637d90d50ed83c43f83e25fe4571f6bb (diff) | |
Deprecated (!)-errors
Diffstat (limited to 'match.c')
| -rw-r--r-- | match.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -661,10 +661,6 @@ static match_t *match(def_t *defs, cache_t *cache, file_t *f, const char *str, p return new_match(defs, pat, start, &str[dents], NULL); } - case BP_ERROR: { - match_t *p = pat->args.pat ? match(defs, cache, f, str, pat->args.pat, ignorecase) : NULL; - return p ? new_match(defs, pat, str, p->end, MATCHES(p)) : NULL; - } default: { errx(EXIT_FAILURE, "Unknown pattern type: %u", pat->type); return NULL; |
