summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/locale/gen_wctype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c
index c29c1b952..6db285e3a 100644
--- a/extra/locale/gen_wctype.c
+++ b/extra/locale/gen_wctype.c
@@ -785,6 +785,8 @@ size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl)
unsigned char uit[RANGE+1];
int shift2;
+ memset(uniqblock, 0x00, sizeof(uniqblock));
+
ii_save = NULL;
blocksize = 1 << shift;
numblocks = usize >> shift;