aboutsummaryrefslogtreecommitdiff
path: root/locale/setlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/setlocale.c')
-rw-r--r--locale/setlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 54ca416887..cde5b6a4fc 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -133,7 +133,7 @@ __libc_lock_define_initialized (, __libc_setlocale_lock)
static inline char *
new_composite_name (int category, const char *newnames[LC_ALL])
{
- size_t last_len;
+ size_t last_len = 0;
size_t cumlen = 0;
int i;
char *new, *p;