From 4c038b68b5563ed5bb955a79cd3bd75a15d318de Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 21 Dec 2005 19:33:05 +0000 Subject: * iconv/gconv_conf.c: Initialize empty_path_elem. --- ChangeLog | 2 ++ iconv/gconv_conf.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef25558..0edc2f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-12-21 Ulrich Drepper + * 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 78f41cb..ad5a7ee 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. */ -- cgit v1.1