Skip to content

Commit dd802f5

Browse files
committed
fixup! survey: calculate stats on refs and print results
Remove two unused variables that GCC v14 complains about. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 38de1fa commit dd802f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

builtin/survey.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,9 +1148,7 @@ static int maybe_count_ref(struct ref_array_item *p)
11481148
*/
11491149
static void do_calc_stats_refs(struct ref_array *ref_array)
11501150
{
1151-
struct survey_refs_wanted *rw = &survey_opts.refs;
11521151
struct survey_stats_refs *prs = &survey_stats.refs;
1153-
struct strbuf buf = STRBUF_INIT;
11541152
int k;
11551153

11561154
strintmap_init(&prs->refsmap, 0);

0 commit comments

Comments
 (0)