From 405b8c60d0b63d21f3a1e185eddc321c842b5a9d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 13 Jul 2000 01:58:04 +0000 Subject: Update. * iconv/gconv_db.c (gen_steps): Always initialize __data field of step. * iconv/gconv_open.c (__gconv_open): Reapply 2000-07-12 Bruno Haible * iconv/gconv_open.c (__gconv_open): Merge duplicated code. --- iconv/gconv_db.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iconv/gconv_db.c') diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index 4aac076538..0caf310b91 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -234,6 +234,7 @@ gen_steps (struct derivation_step *best, const char *toset, &result[step_cnt]); /* Call the init function. */ + result[step_cnt].__data = NULL; if (result[step_cnt].__init_fct != NULL) { status = DL_CALL_FCT (result[step_cnt].__init_fct, -- cgit v1.2.3