patience diff: remove unused variable
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Phillip Wood committed
May 4, 2021 at 09:25 UTC
f91371b9485932983e7dc81130e95dd176114829
1 file changed
-3
xdiff/xpatience.c
-3
@@ -284,9 +284,6 @@ static int walk_common_sequence(struct hashmap *map, struct entry *first,
284
285
/* Recurse */
286
if (next1 > line1 || next2 > line2) {
287
- struct hashmap submap;
288
-
289
- memset(&submap, 0, sizeof(submap));
287
if (patience_diff(map->file1, map->file2,
288
map->xpp, map->env,
289
line1, next1 - line1,