Skip to content

Commit f91371b

Browse files
phillipwoodgitster
authored andcommitted
patience diff: remove unused variable
Signed-off-by: Phillip Wood <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 204aa2d commit f91371b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

xdiff/xpatience.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@ static int walk_common_sequence(struct hashmap *map, struct entry *first,
284284

285285
/* Recurse */
286286
if (next1 > line1 || next2 > line2) {
287-
struct hashmap submap;
288-
289-
memset(&submap, 0, sizeof(submap));
290287
if (patience_diff(map->file1, map->file2,
291288
map->xpp, map->env,
292289
line1, next1 - line1,

0 commit comments

Comments
 (0)