(new_composite_name): Initialize last_len to prevent warning.
authordrepper <drepper>
Thu, 9 Jul 1998 13:45:59 +0000 (13:45 +0000)
committerdrepper <drepper>
Thu, 9 Jul 1998 13:45:59 +0000 (13:45 +0000)
locale/setlocale.c

index 54ca416..cde5b6a 100644 (file)
@@ -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;