summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-31 10:19:02 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:35 +0200
commite041f4b2e2f2c3162baef3b20dd1712a8e639252 (patch)
tree2c7096057a4ae8be0ad82064fce185535a88d809 /libc
parent949aaf6bc937b45d843f9604600d87398c3f04c5 (diff)
_collate.c: avoid initialization warning
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/string/_collate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/_collate.c b/libc/string/_collate.c
index def56d260..2ebfb9317 100644
--- a/libc/string/_collate.c
+++ b/libc/string/_collate.c
@@ -159,7 +159,7 @@ static void next_weight(col_state_t *cs, int pass __LOCALE_PARAM )
#define N (1)
#else /* WANT_WIDE */
wchar_t WC;
- size_t n0, nx;
+ size_t n0, nx = 0;
#define N n0
#endif /* WANT_WIDE */