From f91371b9485932983e7dc81130e95dd176114829 Mon Sep 17 00:00:00 2001 From: Phillip Wood Date: Tue, 4 May 2021 09:25:45 +0000 Subject: [PATCH] patience diff: remove unused variable Signed-off-by: Phillip Wood Signed-off-by: Junio C Hamano --- xdiff/xpatience.c | 3 --- 1 file changed, 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, -- 2.52.0