summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-21 19:33:05 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-21 19:33:05 +0000
commit4c038b68b5563ed5bb955a79cd3bd75a15d318de (patch)
tree66f3d3abf7d9052ce4e9ea05fbf9112c9ebbfd55
parent403a6325787939b65642bb7eb133088a8a23d4a6 (diff)
downloadglibc-4c038b68b5563ed5bb955a79cd3bd75a15d318de.tar.gz
glibc-4c038b68b5563ed5bb955a79cd3bd75a15d318de.tar.xz
glibc-4c038b68b5563ed5bb955a79cd3bd75a15d318de.zip
* iconv/gconv_conf.c: Initialize empty_path_elem.
-rw-r--r--ChangeLog2
-rw-r--r--iconv/gconv_conf.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef25558601..0edc2f1666 100644
--- 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
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index 78f41cb368..ad5a7ee105 100644
--- a/iconv/gconv_conf.c
+++ b/iconv/gconv_conf.c
@@ -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.  */