From: Phillip Wood Date: Tue, 4 May 2021 09:25:45 +0000 (+0000) Subject: patience diff: remove unused variable X-Git-Url: https://www.git.kevux.org/?a=commitdiff_plain;h=f91371b9485932983e7dc81130e95dd176114829;p=rit patience diff: remove unused variable Signed-off-by: Phillip Wood Signed-off-by: Junio C Hamano --- 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,