commit 47a907487536e9a5f9fd52ef0293d26747262179 from: Christian Weisgerber date: Wed Oct 27 15:23:59 2021 UTC remove unused variables to fix LLVM 13 warnings; ok stsp commit - 22edbce7dffddead032aaa20dcafcf33c5118cef commit + 47a907487536e9a5f9fd52ef0293d26747262179 blob - 783c434b33577727fafbf7589d751e7601a9dcf7 blob + d2db8c1e2cd6a46130821551a293b51fa2c841b9 --- lib/blame.c +++ lib/blame.c @@ -124,8 +124,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; /* @@ -134,9 +133,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) {