From: Andre Noll Date: Sun, 9 Nov 2008 15:13:38 +0000 (+0100) Subject: compute_user_summary does not need any private data. X-Git-Tag: v0.0.5~1^2~12 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=43b8c3a61559d52326fff1b6661904af470d9225 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. --- 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) {