summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */