Commit Diff


commit - 44ff76a3ed656a58d924eb25305da7d2a6150f03
commit + dd853333d02cc3e79a43ecd94d98ad2b251483cf
blob - 964c1353da1b055ae761ae6961c45ea19e16d032
blob + 0b88a3cedf38d100921a49d211e059e7ebdc11d5
--- lib/diff_atomize_text.c
+++ lib/diff_atomize_text.c
@@ -21,7 +21,6 @@ static int diff_data_atomize_text_lines(struct diff_da
 {
 	const uint8_t *pos = d->data;
 	const uint8_t *end = pos + d->len;
-	enum diff_rc rc;
 
 	unsigned int array_size_estimate = d->len / 50;
 	unsigned int pow2 = 1;
blob - 590243706ebb8b6777cc13e94fb338833ee013ba
blob + 17fcf075be5314b830bd4d85873c98c68516487f
--- lib/diff_patience.c
+++ lib/diff_patience.c
@@ -355,8 +355,6 @@ enum diff_rc diff_algo_patience(const struct diff_algo
 
 		debug("iteration %u  left_pos %u  left_idx %u  right_pos %u  right_idx %u\n",
 		      i, left_pos, left_idx, right_pos, right_idx);
-
-		struct diff_chunk *chunk;
 
 		/* Section before the matching atom */
 		struct diff_atom *left_atom = &left->atoms.head[left_pos];