[PATCH 2/2] patience diff: remove unused variable
From: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
---
xdiff/xpatience.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/xdiff/xpatience.c b/xdiff/xpatience.c
index db2d53e89cb0..c5d48e80aefb 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,
--
gitgitgadget