summaryrefslogtreecommitdiff
path: root/xdiff/xpatience.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2021-05-04 09:25:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-05 09:56:48 (GMT)
commitf91371b9485932983e7dc81130e95dd176114829 (patch)
tree5a912a1a1ca4ae7db8a700700a39f51879378842 /xdiff/xpatience.c
parent204aa2d24d83f308ef1ab128b1a7722daf9cfd56 (diff)
downloadgit-f91371b9485932983e7dc81130e95dd176114829.zip
git-f91371b9485932983e7dc81130e95dd176114829.tar.gz
git-f91371b9485932983e7dc81130e95dd176114829.tar.bz2
patience diff: remove unused variable
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xpatience.c')
-rw-r--r--xdiff/xpatience.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xdiff/xpatience.c b/xdiff/xpatience.c
index 0329911..e46fadd 100644
--- a/xdiff/xpatience.c
+++ b/xdiff/xpatience.c
@@ -284,9 +284,6 @@ static int walk_common_sequence(struct hashmap *map, struct entry *first,
/* Recurse */
if (next1 > line1 || next2 > line2) {
- struct hashmap submap;
-
- memset(&submap, 0, sizeof(submap));
if (patience_diff(map->file1, map->file2,
map->xpp, map->env,
line1, next1 - line1,