diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 10:47:20 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 10:47:20 -0800 |
| commit | 46f1747947503a6fab403e2d77e97408a47cbae7 (patch) | |
| tree | 061f73dc9a4ee098c841ee376bb425283bed7925 /match.c | |
| parent | eece8c85564b9c5ae0cb3edfe7edb684242e9227 (diff) | |
More static analyzer cleanup
Diffstat (limited to 'match.c')
| -rw-r--r-- | match.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -381,6 +381,7 @@ static match_t *match(def_t *defs, file_t *f, const char *str, pat_t *pat, bool .lines=f->lines, // I think this works, but am not 100% sure .nlines=1 + get_line_number(f, m1->end)-get_line_number(f, m1->start), .mmapped=f->mmapped, + .pats = NULL, .next = NULL, }; match_t *m2 = match(defs, &inner, str, pat->args.multiple.second, ignorecase); if ((m2 == NULL || m2->end != m1->end) == (pat->type == BP_EQUAL)) { |
