From: Andre Noll Date: Wed, 12 Nov 2008 17:12:40 +0000 (+0100) Subject: Fix a compiler warning. X-Git-Tag: v0.1.0~23^2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=44bb864e9d02f765064645b4e70d48b8c8113c48;p=adu.git Fix a compiler warning. It's kinda bogus, but anyway. It fixes select.c:532: warning: 'comp' may be used uninitialized in this function --- 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);