Show More
@@ -275,7 +275,7 b' static int diff(struct line *a, int an, ' | |||||
275 | /* sentinel end hunk */ |
|
275 | /* sentinel end hunk */ | |
276 | curr->next = (struct hunk *)malloc(sizeof(struct hunk)); |
|
276 | curr->next = (struct hunk *)malloc(sizeof(struct hunk)); | |
277 | if (!curr->next) |
|
277 | if (!curr->next) | |
278 |
return |
|
278 | return -1; | |
279 | curr = curr->next; |
|
279 | curr = curr->next; | |
280 | curr->a1 = curr->a2 = an; |
|
280 | curr->a1 = curr->a2 = an; | |
281 | curr->b1 = curr->b2 = bn; |
|
281 | curr->b1 = curr->b2 = bn; |
General Comments 0
You need to be logged in to leave comments.
Login now