diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-02-18 01:07:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-17 16:32:18 -0800 |
commit | 1cfc5a850c3962f341accb15cef6d09c21bbbdee (patch) | |
tree | 74309b6ac8ea028570c48b233b11e3de39460c5e /Documentation/RelNotes/2.2.1.txt | |
parent | grep/pcre2: drop needless assignment + assert() on opt->pcre2 (diff) | |
download | tgif-1cfc5a850c3962f341accb15cef6d09c21bbbdee.tar.xz |
grep/pcre2: drop needless assignment to NULL
Remove a redundant assignment of pcre2_compile_context dating back to
my 94da9193a6e (grep: add support for PCRE v2, 2017-06-01).
In create_grep_pat() we xcalloc() the "grep_pat" struct, so there's no
need to NULL out individual members here.
I think this was probably something left over from an earlier
development version of mine.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.2.1.txt')
0 files changed, 0 insertions, 0 deletions