Commit Diff


commit - f2aebda43f1e6ea926543dc93171a423a0bf5fd5
commit + 4ba235e4045065bf5f8b5f6804f54f800846bc81
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];