aboutsummaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-06-29 22:22:17 +0000
committerJunio C Hamano <gitster@pobox.com>2017-06-30 10:06:24 -0700
commite62ba4324421279d5c9ba95494dca4b4f0e10eb1 (patch)
tree31a316aa0d53b75f402f0b213c8f8768a8ce31a1 /git-gui/lib/diff.tcl
parente0aaa1b6532cfce93d87af9bc813fb2e7a7ce9d7 (diff)
downloadgit-e62ba4324421279d5c9ba95494dca4b4f0e10eb1.tar.gz
git-e62ba4324421279d5c9ba95494dca4b4f0e10eb1.tar.xz
grep: remove redundant double assignment to 0
Stop assigning 0 to the extended_regexp_option field right after we've zeroed out the entire struct with memset() just a few lines earlier. Unlike some of the code being refactored in subsequent commits, this was always completely redundant. See the original code introduced in 84befcd0a4 ("grep: add a grep.patternType configuration setting", 2012-08-03). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions