Commit 3043f6a3950d04db865f7c663fcbee68deec37e9

Stefan Sperling 2019-08-07T13:30:12

remove accidental assignment in diffreg.c

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/diffreg.c b/lib/diffreg.c
index 0823deb..be2aa20 100644
--- a/lib/diffreg.c
+++ b/lib/diffreg.c
@@ -934,7 +934,6 @@ change(FILE *outfile, struct got_diff_changes *changes,
 			ptrdiff_t offset;
 			offset = ds->context_vec_ptr - ds->context_vec_start;
 			ds->max_context <<= 1;
-			ds->context_vec_start =
 			cvp = reallocarray(ds->context_vec_start,
 			    ds->max_context, sizeof(*ds->context_vec_start));
 			if (cvp == NULL) {