We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42c3e6 commit 648dc1cCopy full SHA for 648dc1c
builtin/survey.c
@@ -421,10 +421,8 @@ static void survey_report_object_sizes(const char *title,
421
struct survey_table table = SURVEY_TABLE_INIT;
422
table.table_name = title;
423
424
- strvec_push(&table.header, xstrdup(categories));
425
- strvec_push(&table.header, xstrdup(_("Count")));
426
- strvec_push(&table.header, xstrdup(_("Disk Size")));
427
- strvec_push(&table.header, xstrdup(_("Inflated Size")));
+ strvec_pushl(&table.header, categories,
+ _("Count"), _("Disk Size"), ("Inflated Size"), NULL);
428
429
for (size_t i = 0; i < summary_nr; i++) {
430
insert_table_rowv(&table, xstrdup(summary[i].label),
0 commit comments