From 44bb864e9d02f765064645b4e70d48b8c8113c48 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 12 Nov 2008 18:12:40 +0100 Subject: [PATCH] Fix a compiler warning. It's kinda bogus, but anyway. It fixes select.c:532: warning: 'comp' may be used uninitialized in this function --- select.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/select.c b/select.c index d5ce3e4..d658585 100644 --- a/select.c +++ b/select.c @@ -559,6 +559,9 @@ static int print_user_summary(struct format_info *fi) case user_summary_sort_arg_size: comp = size_comp; break; + default: /* this should never happen, but anyway */ + comp = size_comp; + break; } sort_hash_table(comp); ret = for_each_admissible_user(print_user_summary_line, &usli); -- 2.39.5