From 43b8c3a61559d52326fff1b6661904af470d9225 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 9 Nov 2008 16:13:38 +0100 Subject: [PATCH 1/1] compute_user_summary does not need any private data. Consequently, pass a NULL pointer rather than a pointer to struct format_info which is not used anyway. --- select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select.c b/select.c index f200953..fd25da4 100644 --- a/select.c +++ b/select.c @@ -408,7 +408,7 @@ static int print_user_summary(struct format_info *fi) if (ret < 0) return ret; } - ret = for_each_admissible_user(compute_user_summary, fi); + ret = for_each_admissible_user(compute_user_summary, NULL); if (ret < 0) return ret; switch (select_conf.user_summary_sort_arg) { -- 2.39.2