summaryrefslogtreecommitdiff
path: root/line-range.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-06-29 22:22:19 +0000
committerJunio C Hamano <gitster@pobox.com>2017-06-30 10:06:24 -0700
commit885ef80d399fa49404608f24598f5df571178603 (patch)
treeb9d117a17fe0966b800c11df72a9ef80429247c9 /line-range.h
parentc7e3855112b106843011bc4862e259ccba2bf6b8 (diff)
downloadgit-885ef80d399fa49404608f24598f5df571178603.tar.gz
grep: remove redundant "fixed" field re-assignment to 0
Remove the redundant re-assignment of the fixed field to zero right after the entire struct has been set to zero via memset(...). Unlike some nearby commits this pattern doesn't date back to the pattern described in e0b9f8ae09 ("grep: remove redundant regflags assignments", 2017-05-25), instead it was apparently cargo-culted in 9eceddeec6 ("Use kwset in grep", 2011-08-21). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.h')
0 files changed, 0 insertions, 0 deletions