From: Bruno Haible Date: Sun, 11 Mar 2001 15:55:44 +0000 (+0000) Subject: Remove needless NULL check. X-Git-Tag: v0.10.36~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a82573ba8b5677ebf82c10473f90f78c4afee62b;p=thirdparty%2Fgettext.git Remove needless NULL check. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index a5628506e..55997fd88 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,8 @@ +2001-03-10 Bruno Haible + + * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL + any more. + 2001-03-09 Bruno Haible * config.charset: Update from libiconv-1.6. diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c index bb57326f1..a4a1cba6c 100644 --- a/intl/loadmsgcat.c +++ b/intl/loadmsgcat.c @@ -397,8 +397,6 @@ _nl_load_domain (domain_file) # if HAVE_ICONV extern const char *locale_charset (void); outcharset = locale_charset (); - if (outcharset == NULL) - outcharset = ""; # endif # endif }