summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-03-11 15:55:44 +0000
committerBruno Haible <bruno@clisp.org>2001-03-11 15:55:44 +0000
commita82573ba8b5677ebf82c10473f90f78c4afee62b (patch)
treef419e704605fe50031d5d8a8c97de82175e4c5ae
parentdf7be532ac529fb1f5474601660b3723e8640e7d (diff)
downloadexternal_gettext-a82573ba8b5677ebf82c10473f90f78c4afee62b.zip
external_gettext-a82573ba8b5677ebf82c10473f90f78c4afee62b.tar.gz
external_gettext-a82573ba8b5677ebf82c10473f90f78c4afee62b.tar.bz2
Remove needless NULL check.
-rw-r--r--intl/ChangeLog5
-rw-r--r--intl/loadmsgcat.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog
index a562850..55997fd 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-10 Bruno Haible <haible@clisp.cons.org>
+
+ * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
+ any more.
+
2001-03-09 Bruno Haible <haible@clisp.cons.org>
* config.charset: Update from libiconv-1.6.
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
index bb57326..a4a1cba 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
}