* iconv/gconv_conf.c: Initialize empty_path_elem.
authorUlrich Drepper <drepper@redhat.com>
Wed, 21 Dec 2005 19:33:05 +0000 (19:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 21 Dec 2005 19:33:05 +0000 (19:33 +0000)
ChangeLog
iconv/gconv_conf.c

index ef25558..0edc2f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-12-21  Ulrich Drepper  <drepper@redhat.com>
 
+       * iconv/gconv_conf.c: Initialize empty_path_elem.
+
        * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
        * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
        * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
index 78f41cb..ad5a7ee 100644 (file)
@@ -46,7 +46,7 @@ struct path_elem *__gconv_path_elem;
 size_t __gconv_max_path_elem_len;
 
 /* We use the following struct if we couldn't allocate memory.  */
-static const struct path_elem empty_path_elem;
+static const struct path_elem empty_path_elem = { NULL, 0 };
 
 /* Name of the file containing the module information in the directories
    along the path.  */