summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2017-06-29 22:22:20 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-30 10:06:24 -0700
commitb07ed4e532fa9492a53b7b510c45efd671f468a8 (patch)
tree7085c4533687bfdcad3d108b8c71804a506309e7 /builtin
parentgrep: remove redundant "fixed" field re-assignment to 0 (diff)
downloadtgif-b07ed4e532fa9492a53b7b510c45efd671f468a8.tar.xz
grep: remove redundant and verbose re-assignments to 0
Remove the redundant re-assignments of the fixed/pcre1/pcre2 fields to zero right after the entire struct has been set to zero via memset(...). See an earlier related cleanup commit e0b9f8ae09 ("grep: remove redundant regflags assignments", 2017-05-25) for an explanation of why the code was structured like this to begin with. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions