about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.  */