]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove needless NULL check.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 15:55:44 +0000 (15:55 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2001 15:55:44 +0000 (15:55 +0000)
intl/ChangeLog
intl/loadmsgcat.c

index a5628506e2cbef3d99d85401ee241f01e303462d..55997fd88a3794fba02414fe70438c3d1c269464 100644 (file)
@@ -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.
index bb57326f15e0dd2e37648fa833aa1c10f591a514..a4a1cba6cff4acfbd61ddfebb8d306d52d1af12c 100644 (file)
@@ -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
                }