projects
/
adu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f28f8
)
Fix a compiler warning.
author
Andre Noll
<maan@systemlinux.org>
Wed, 12 Nov 2008 17:12:40 +0000
(18:12 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 12 Nov 2008 17:12:40 +0000
(18:12 +0100)
It's kinda bogus, but anyway. It fixes
select.c:532: warning: 'comp' may be used uninitialized in this function
select.c
patch
|
blob
|
history
diff --git
a/select.c
b/select.c
index
d5ce3e4
..
d658585
100644
(file)
--- 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);