commit 5d7e2cd05a57bd094a600963db2c19da60278dae from: Christian Weisgerber via: Thomas Adam date: Fri Oct 29 21:14:59 2021 UTC remove unused variables to fix LLVM 13 warnings; ok stsp commit - 62a05ae94009c91c5904a11af8b6d5d8f212e0f6 commit + 5d7e2cd05a57bd094a600963db2c19da60278dae blob - 1a2198b5cc07faf4571492ff7929354c27d77842 blob + 311713a52724ce5002435a63acf53baaf1a6e61f --- lib/blame.c +++ lib/blame.c @@ -123,8 +123,7 @@ blame_changes(struct got_blame *blame, struct diff_res for (i = 0; i < diff_result->chunks.len && blame->nannotated < blame->nlines; i++) { struct diff_chunk *c = diff_chunk_get(diff_result, i); - unsigned int left_start, left_count; - unsigned int right_start, right_count; + unsigned int left_count, right_count; int j; /* @@ -133,9 +132,7 @@ blame_changes(struct got_blame *blame, struct diff_res * that chunk ranges never exceed the number of lines * in the left/right input files. */ - left_start = diff_chunk_get_left_start(c, diff_result, 0); left_count = diff_chunk_get_left_count(c); - right_start = diff_chunk_get_right_start(c, diff_result, 0); right_count = diff_chunk_get_right_count(c); if (left_count == right_count) {