Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xdiff
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2021-05-04 12:25:45 +0300
committerJunio C Hamano <gitster@pobox.com>2021-05-05 12:56:48 +0300
commitf91371b9485932983e7dc81130e95dd176114829 (patch)
tree5a912a1a1ca4ae7db8a700700a39f51879378842 /xdiff
parent204aa2d24d83f308ef1ab128b1a7722daf9cfd56 (diff)
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')
-rw-r--r--xdiff/xpatience.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xdiff/xpatience.c b/xdiff/xpatience.c
index 0329911f76..e46fadd29e 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,