diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-05-04 09:25:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-05 18:56:48 +0900 |
commit | f91371b9485932983e7dc81130e95dd176114829 (patch) | |
tree | 5a912a1a1ca4ae7db8a700700a39f51879378842 /xdiff | |
parent | 204aa2d24d83f308ef1ab128b1a7722daf9cfd56 (diff) | |
download | git-f91371b9485932983e7dc81130e95dd176114829.tar.gz |
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.c | 3 |
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, |